fixing migration to only alter table that actually exist in production

This commit is contained in:
Sean McArthur 2011-05-03 10:21:38 -07:00
Родитель 2e0f032ac2
Коммит 395e957fc0
1 изменённых файлов: 2 добавлений и 12 удалений

Просмотреть файл

@ -6,18 +6,11 @@ ALTER TABLE auth_permission ENGINE=InnoDB;
ALTER TABLE auth_user ENGINE=InnoDB;
ALTER TABLE auth_user_groups ENGINE=InnoDB;
ALTER TABLE auth_user_user_permissions ENGINE=InnoDB;
ALTER TABLE celery_taskmeta ENGINE=InnoDB;
ALTER TABLE celery_tasksetmeta ENGINE=InnoDB;
ALTER TABLE base_celeryresponse ENGINE=InnoDB;
ALTER TABLE django_admin_log ENGINE=InnoDB;
ALTER TABLE django_content_type ENGINE=InnoDB;
ALTER TABLE django_session ENGINE=InnoDB;
ALTER TABLE django_site ENGINE=InnoDB;
ALTER TABLE djcelery_crontabschedule ENGINE=InnoDB;
ALTER TABLE djcelery_intervalschedule ENGINE=InnoDB;
ALTER TABLE djcelery_periodictask ENGINE=InnoDB;
ALTER TABLE djcelery_periodictasks ENGINE=InnoDB;
ALTER TABLE djcelery_taskstate ENGINE=InnoDB;
ALTER TABLE djcelery_workerstate ENGINE=InnoDB;
ALTER TABLE jetpack_attachment ENGINE=InnoDB;
ALTER TABLE jetpack_attachment_revisions ENGINE=InnoDB;
ALTER TABLE jetpack_emptydir ENGINE=InnoDB;
@ -59,7 +52,4 @@ ALTER TABLE auth_user_user_permissions ADD FOREIGN KEY (permission_id) REFERENCE
ALTER TABLE auth_user_groups ADD FOREIGN KEY (group_id) REFERENCES auth_group (id);
ALTER TABLE auth_user_user_permissions ADD FOREIGN KEY (user_id) REFERENCES auth_user (id);
ALTER TABLE auth_user_groups ADD FOREIGN KEY (user_id) REFERENCES auth_user (id);
ALTER TABLE auth_message ADD FOREIGN KEY (user_id) REFERENCES auth_user (id);
ALTER TABLE djcelery_periodictask ADD FOREIGN KEY (crontab_id) REFERENCES djcelery_crontabschedule (id);
ALTER TABLE djcelery_periodictask ADD FOREIGN KEY (interval_id) REFERENCES djcelery_intervalschedule (id);
ALTER TABLE djcelery_taskstate ADD FOREIGN KEY (worker_id) REFERENCES djcelery_workerstate (id);
ALTER TABLE auth_message ADD FOREIGN KEY (user_id) REFERENCES auth_user (id);