diff options
author | Andrew Dolgov <[email protected]> | 2021-03-04 08:30:52 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-03-04 08:30:52 +0300 |
commit | c0fb0a5ec04c064bb848534185b51c5d1b7bdaaf (patch) | |
tree | 1023912c25fb14a917d0ff23d21bc6b72c73bef0 /schema/versions/mysql/4.sql | |
parent | 921569e5da6c3ccbf203506a243cbf499432ec15 (diff) |
wip for db_migrations for core schema
Diffstat (limited to 'schema/versions/mysql/4.sql')
-rw-r--r-- | schema/versions/mysql/4.sql | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/schema/versions/mysql/4.sql b/schema/versions/mysql/4.sql deleted file mode 100644 index 6dfc5f82f..000000000 --- a/schema/versions/mysql/4.sql +++ /dev/null @@ -1,17 +0,0 @@ -begin; - -alter table ttrss_feeds add column parent_feed integer; -alter table ttrss_feeds add foreign key (parent_feed) references ttrss_feeds(id) on delete set null; - -alter table ttrss_feeds add column private bool; - -update ttrss_feeds set private = false; - -alter table ttrss_feeds change private private bool not null; -alter table ttrss_feeds alter column private set default 0; - -insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('HIDE_READ_FEEDS', 1, 'false', 'Hide feeds with no unread messages',2); - -update ttrss_version set schema_version = 4; - -commit; |