зеркало из https://github.com/mozilla/FlightDeck.git
fixing migration to only alter table that actually exist in production
This commit is contained in:
Родитель
2e0f032ac2
Коммит
395e957fc0
|
@ -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);
|
Загрузка…
Ссылка в новой задаче