fix migrations again
This commit is contained in:
Родитель
546cc0a635
Коммит
bca628afa2
|
@ -5,6 +5,11 @@ drop table categories_supervisors;
|
|||
alter table addons_categories drop foreign key addons_categories_ibfk_4;
|
||||
alter table addons_categories add constraint addons_categories_ibfk_4 foreign key (category_id) REFERENCES categories (id) ON DELETE CASCADE;
|
||||
|
||||
-- Collections are the new hotness. Drop featured-specific models.
|
||||
drop table zadmin_featuredapp;
|
||||
drop table zadmin_featuredappcarrier;
|
||||
drop table zadmin_featuredappregion;
|
||||
|
||||
-- Delete legacy operator shelves/special categories.
|
||||
delete from categories where carrier is not null or region is not null;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
-- Collections are the new hotness. Drop featured-specific models.
|
||||
drop table zadmin_featuredapp;
|
||||
drop table zadmin_featuredappcarrier;
|
||||
drop table zadmin_featuredappregion;
|
||||
-- drop table zadmin_featuredapp;
|
||||
-- drop table zadmin_featuredappcarrier;
|
||||
-- drop table zadmin_featuredappregion;
|
||||
|
|
Загрузка…
Ссылка в новой задаче