From: Andrew Dolgov Date: Wed, 17 Aug 2016 06:43:22 +0000 (+0300) Subject: update schema 128 to properly set ttrss_feeds.last_updated default value to NULL X-Git-Tag: 17.1~51 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=539f6ee6cd09057b779e35fc45c6a3a04f497286;p=tt-rss.git update schema 128 to properly set ttrss_feeds.last_updated default value to NULL --- diff --git a/schema/versions/mysql/128.sql b/schema/versions/mysql/128.sql index 0a4d7ab7..281379bb 100644 --- a/schema/versions/mysql/128.sql +++ b/schema/versions/mysql/128.sql @@ -1,5 +1,8 @@ BEGIN; +update ttrss_feeds set last_updated = NULL; +alter table ttrss_feeds modify column last_updated datetime DEFAULT NULL; + alter table ttrss_feeds add column feed_language varchar(100); update ttrss_feeds set feed_language = ''; alter table ttrss_feeds change feed_language feed_language varchar(100) not null;