This commit is contained in:
Chris Van 2013-10-17 15:50:07 -07:00
Родитель 546cc0a635
Коммит bca628afa2
2 изменённых файлов: 8 добавлений и 3 удалений

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

@ -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;