update schema 128 to properly set ttrss_feeds.last_updated default value to NULL

remotes/origin/jsonfeed-test-branch
Andrew Dolgov 6 years ago
parent 5cbd1fe8e4
commit 539f6ee6cd
  1. 3
      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;

Loading…
Cancel
Save