Skip to content

Instantly share code, notes, and snippets.

@jdunck
Created May 1, 2012 17:18
Show Gist options
  • Save jdunck/2569771 to your computer and use it in GitHub Desktop.
Save jdunck/2569771 to your computer and use it in GitHub Desktop.
Running migrations for notifications:
- Migrating forwards to 0005_auto__del_deliveryfrequency__add_deliveryfrequencyconfiguration.
> notifications:0005_auto__del_deliveryfrequency__add_deliveryfrequencyconfiguration
DEBUG 2012-05-01 17:17:09,394 generic south execute "DROP TABLE `notifications_deliveryfrequency` CASCADE;" with params "[]"
DEBUG 2012-05-01 17:17:09,396 generic south execute "CREATE TABLE `notifications_deliveryfrequencyconfiguration` (`id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, `create_ts` datetime NOT NULL DEFAULT '2012-05-01 17:17:09', `modify_ts` datetime NOT NULL DEFAULT '2012-05-01 17:17:09', `frequency` smallint UNSIGNED NOT NULL UNIQUE, `last_delivered_ts` datetime NOT NULL DEFAULT '2000-01-01 00:00:00');" with params "[]"
DEBUG 2012-05-01 17:17:09,396 generic south execute "SET FOREIGN_KEY_CHECKS=1;" with params "[]"
DEBUG 2012-05-01 17:17:09,396 generic south execute "DROP TABLE `notifications_deliveryfrequency` CASCADE;" with params "[]"
DEBUG 2012-05-01 17:17:09,410 generic south execute "CREATE TABLE `notifications_deliveryfrequency` (`frequency` smallint UNSIGNED NOT NULL UNIQUE, `create_ts` datetime NOT NULL DEFAULT '2012-05-01 17:17:09', `last_delivered_ts` datetime NOT NULL DEFAULT '2000-01-01 00:00:00', `id` integer AUTO_INCREMENT NOT NULL PRIMARY KEY, `modify_ts` datetime NOT NULL DEFAULT '2012-05-01 17:17:09');" with params "[]"
DEBUG 2012-05-01 17:17:09,410 generic south execute "DROP TABLE `notifications_deliveryfrequencyconfiguration` CASCADE;" with params "[]"
! Error found during real run of migration! Aborting.
! Since you have a database that does not support running
! schema-altering statements in transactions, we have had
! to leave it in an interim state between migrations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment