1👍
✅
You can’t, migrations are for modifying a databases schema, with data migrations to modify existing data.
You’re better off making that a custom management command,
or if you really insist on redoing the migration, since you’ve already flushed the database, why not just drop the database completely and recreate it, then you’ll be able to migrate again.
See also providing initial data with fixtures
Source:stackexchange.com