mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 20:05:55 +00:00
wip for db_migrations for core schema
This commit is contained in:
12
sql/pgsql/migrations/99.sql
Normal file
12
sql/pgsql/migrations/99.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
begin;
|
||||
|
||||
alter table ttrss_feeds add column cache_content boolean;
|
||||
update ttrss_feeds set cache_content = false;
|
||||
alter table ttrss_feeds alter column cache_content set not null;
|
||||
alter table ttrss_feeds alter column cache_content set default false;
|
||||
|
||||
alter table ttrss_entries add column cached_content text;
|
||||
|
||||
update ttrss_version set schema_version = 99;
|
||||
|
||||
commit;
|
||||
Reference in New Issue
Block a user