Tuesday, August 28, 2018

Cannot migrate database development changes to Live Database (Production)


We had our first deployment recently. Later, we were in the development stage for a month on copy of the live database locally.
Today we tried to migrate the changes to the production database but were unable to due to table creation errors.

We are having a new table (model) with nullable foreign keys to others. When we try to migrate, it says table does not exist
on the production database.

Please help,

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/bf9177b0-2955-4bd4-93c3-eb01b3fdc355%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment