agriget/schema/versions/pgsql/43.sql

8 lines
317 B
MySQL
Raw Permalink Normal View History

2019-03-22 22:17:29 +08:00
alter table ttrss_labels rename column sql_exp to sql_exp_old;
alter table ttrss_labels add column sql_exp text;
update ttrss_labels set sql_exp = sql_exp_old;
alter table ttrss_labels alter column sql_exp set not null;
alter table ttrss_labels drop column sql_exp_old;
update ttrss_version set schema_version = 43;