mirror of
https://tt-rss.org/git/tt-rss.git
synced 2024-06-26 11:59:02 +02:00
add missing schema files
This commit is contained in:
parent
a1eba24b24
commit
044d39acb2
5
schema/versions/mysql/49.sql
Normal file
5
schema/versions/mysql/49.sql
Normal file
|
@ -0,0 +1,5 @@
|
|||
alter table ttrss_counters_cache add column updated datetime;
|
||||
update ttrss_counters_cache set updated = NOW();
|
||||
alter table ttrss_counters_cache change updated updated datetime not null;
|
||||
|
||||
update ttrss_version set schema_version = 49;
|
9
schema/versions/pgsql/49.sql
Normal file
9
schema/versions/pgsql/49.sql
Normal file
|
@ -0,0 +1,9 @@
|
|||
begin;
|
||||
|
||||
alter table ttrss_counters_cache add column updated timestamp;
|
||||
update ttrss_counters_cache set updated = NOW();
|
||||
alter table ttrss_counters_cache alter column updated set not null;
|
||||
|
||||
update ttrss_version set schema_version = 49;
|
||||
|
||||
commit;
|
Loading…
Reference in New Issue
Block a user