From 044d39acb24bef6693bc2c3ef206113563eb8cf3 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 Jan 2009 12:48:39 +0100 Subject: [PATCH] add missing schema files --- schema/versions/mysql/49.sql | 5 +++++ schema/versions/pgsql/49.sql | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 schema/versions/mysql/49.sql create mode 100644 schema/versions/pgsql/49.sql diff --git a/schema/versions/mysql/49.sql b/schema/versions/mysql/49.sql new file mode 100644 index 00000000..812f3e65 --- /dev/null +++ b/schema/versions/mysql/49.sql @@ -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; diff --git a/schema/versions/pgsql/49.sql b/schema/versions/pgsql/49.sql new file mode 100644 index 00000000..6efd9192 --- /dev/null +++ b/schema/versions/pgsql/49.sql @@ -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; -- 2.39.5