diff options
author | Andrew Dolgov <[email protected]> | 2006-12-08 07:31:49 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-12-08 07:31:49 +0100 |
commit | 9ebaec057c6c9e1644eb7673ddb3f709b9874bb8 (patch) | |
tree | 25d2eb3d31e83e5624dfb32f09c9d68d2d7093bb /schema/upgrade-1.2.4-1.2.6-mysql.sql | |
parent | 3db880c6276a3bd907ecd9e4739142237cf484fe (diff) |
ttrss_filters: add action_param field, bump schema version
Diffstat (limited to 'schema/upgrade-1.2.4-1.2.6-mysql.sql')
-rw-r--r-- | schema/upgrade-1.2.4-1.2.6-mysql.sql | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/schema/upgrade-1.2.4-1.2.6-mysql.sql b/schema/upgrade-1.2.4-1.2.6-mysql.sql new file mode 100644 index 000000000..2b100d175 --- /dev/null +++ b/schema/upgrade-1.2.4-1.2.6-mysql.sql @@ -0,0 +1,9 @@ +alter table ttrss_filters add column action_param varchar(200); + +update ttrss_filters set action_param = ''; + +alter table ttrss_filters change action_param action_param varchar(200) not null; +alter table ttrss_filters alter column action_param set default ''; + +update ttrss_version set schema_version = 12; + |