schema: mysql: remove foreign key to ttrss_themes before dropping theme_id from ttrss_users

This commit is contained in:
Andrew Dolgov 2011-04-01 15:32:27 +04:00
parent 9507ab7f92
commit dd0345769a
1 changed files with 2 additions and 0 deletions

View File

@ -24,7 +24,9 @@ update ttrss_feeds set pubsub_state = 0;
alter table ttrss_feeds change pubsub_state pubsub_state integer not null;
alter table ttrss_feeds alter column pubsub_state set default 0;
alter table ttrss_users drop foreign key ttrss_users_ibfk_1
alter table ttrss_users drop column theme_id;
drop table ttrss_themes;
update ttrss_version set schema_version = 83;