agriget/schema/versions/mysql/128.sql

14 lines
439 B
MySQL
Raw Normal View History

2019-03-22 22:17:29 +08:00
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;
alter table ttrss_feeds alter column feed_language set default '';
UPDATE ttrss_version SET schema_version = 128;
COMMIT;