mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-20 18:51:29 +00:00
wip for db_migrations for core schema
This commit is contained in:
11
sql/pgsql/migrations/105.sql
Normal file
11
sql/pgsql/migrations/105.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
begin;
|
||||
|
||||
alter table ttrss_user_entries add column last_marked timestamp;
|
||||
alter table ttrss_user_entries add column last_published timestamp;
|
||||
|
||||
update ttrss_user_entries set last_published = last_read where published = true;
|
||||
update ttrss_user_entries set last_marked = last_read where marked = true;
|
||||
|
||||
update ttrss_version set schema_version = 105;
|
||||
|
||||
commit;
|
||||
Reference in New Issue
Block a user