All,

Yesterday a migration for the commerce configuration model was committed to 
master and then removed via a PR revert.  This was incorrect and can leave some 
folks in an inconsistent state.   

If you are having issue please do the following to fix:

You’ll need to first undo the migration that removes a field and then deploy 
the latest code from master:


# Checkout  edx-platform code to where the migration existed
$ git checkout 9ac4cef972abd26afe18644d198d515c4284ef7c

# roll back the migration
# Your settings files may be different, ‘devstack’ is a common settings
# file on devstacks.
$ sudo -u www-data -H /edx/bin/python.edxapp /edx/bin/manage.edxapp lms 
--settings=aws migrate commerce 0005

# Deploy the latest code from master

We’ve recently updated the wiki page about migrations.  Please make sure you 
have read it so you know how to properly handle Django Database Migrations. 
https://openedx.atlassian.net/wiki/display/OpenDev/Everything+About+Database+Migrations
 

Sorry for the inconvenience,
Michael

-- 
You received this message because you are subscribed to the Google Groups 
"General Open edX discussion" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/edx-code/C910F1D1-F5E6-4599-BC4B-720478B170A1%40edx.org.

Reply via email to