Error on ecommerce launch

It looks like the basket.0011_add_email_basket_attribute_type migration cannot be applied because it was partially applied before. Maybe it crashed or was brutally interrupted?

Does the mysql database contain data that should be preserved? If not, you can simply trash the database and run quickstart again:

tutor local stop
sudo rm -rf $(tutor config printroot)/data/mysql
tutor local quickstart

If for some reason you may not delete the database, we will have to fake the migration, which requires a little more work. Let me know.

1 Like