]> git.wh0rd.org Git - tt-rss.git/commitdiff
schema: mysql: remove foreign key to ttrss_themes before dropping theme_id from ttrss...
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 1 Apr 2011 11:32:27 +0000 (15:32 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Fri, 1 Apr 2011 11:32:27 +0000 (15:32 +0400)
schema/versions/mysql/83.sql

index 6c7d5ce4257780e15a9b2b010765787db6cd1fc7..5e791b23d6021b92f87f627b79a9fa7cdf94a447 100644 (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;