I’m getting this running python3 manage.py makemigrations
You are trying to add the field ‘created_at’ with ‘auto_now_add=True’ to sitemetadata without a default; the database needs something to populate existing rows.
But the table doesn’t exist yet, and there are no rows. How can I use makemigrations
here properly?
What are the circumstances around the table not existing? Is it completely new or was it created by an earlier migration and deleted manually?