From: Andrew Dolgov Date: Sat, 2 Jan 2010 11:19:41 +0000 (+0300) Subject: fix mysql schema upgrade #60 X-Git-Tag: 1.4.0~109 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=451b19c0585edf662da7c01b9caf16f215887499;p=tt-rss.git fix mysql schema upgrade #60 --- diff --git a/schema/versions/mysql/60.sql b/schema/versions/mysql/60.sql index 40d2988a..d1af11a3 100644 --- a/schema/versions/mysql/60.sql +++ b/schema/versions/mysql/60.sql @@ -13,7 +13,7 @@ create table ttrss_archived_feeds (id integer not null primary key, alter table ttrss_user_entries add column orig_feed_id integer; update ttrss_user_entries set orig_feed_id = NULL; -alter table ttrss_user_entries add constraint FOREIGN KEY (orig_feed_id) REFERENCES ttrss_archived_feeds(id) ON DELETE SET NULL; +alter table ttrss_user_entries add FOREIGN KEY (orig_feed_id) REFERENCES ttrss_archived_feeds(id) ON DELETE SET NULL; update ttrss_version set schema_version = 60;