diff --git a/schema/versions/mysql/74.sql b/schema/versions/mysql/74.sql new file mode 100644 index 000000000..d13856ea9 --- /dev/null +++ b/schema/versions/mysql/74.sql @@ -0,0 +1,9 @@ +begin; + +alter table ttrss_user_entries add column label_cache text; +update ttrss_user_entries set label_cache = ''; +alter table ttrss_user_entries change label_cache label_cache text not null; + +update ttrss_version set schema_version = 74; + +commit; diff --git a/schema/versions/pgsql/74.sql b/schema/versions/pgsql/74.sql new file mode 100644 index 000000000..22c95c5d3 --- /dev/null +++ b/schema/versions/pgsql/74.sql @@ -0,0 +1,9 @@ +begin; + +alter table ttrss_user_entries add column label_cache text; +update ttrss_user_entries set label_cache = ''; +alter table ttrss_user_entries alter column label_cache set not null; + +update ttrss_version set schema_version = 74; + +commit;