ttrss/schema/versions/pgsql/49.sql

10 lines
244 B
PL/PgSQL

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;