From 539f6ee6cd09057b779e35fc45c6a3a04f497286 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 17 Aug 2016 09:43:22 +0300 Subject: [PATCH] update schema 128 to properly set ttrss_feeds.last_updated default value to NULL --- schema/versions/mysql/128.sql | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5