summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-03-10 11:54:10 +0300
committerAndrew Dolgov <[email protected]>2011-03-10 11:54:10 +0300
commitb9ad7cface725225ec84f0b5b52731c0b4953c01 (patch)
tree9a6926c374a3f1c312dd7645e60735894066f986 /schema
parent530f5cdafa7aa00056dc7807869f569933d349c6 (diff)
change description of filter 'filter' action (bump schema)
Diffstat (limited to 'schema')
-rw-r--r--schema/ttrss_schema_mysql.sql4
-rw-r--r--schema/ttrss_schema_pgsql.sql4
-rw-r--r--schema/versions/mysql/81.sql7
-rw-r--r--schema/versions/pgsql/81.sql7
4 files changed, 18 insertions, 4 deletions
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index 717984210..a7c555cba 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -208,7 +208,7 @@ create table ttrss_filter_actions (id integer not null primary key,
description varchar(250) not null unique) TYPE=InnoDB DEFAULT CHARSET=UTF8;
insert into ttrss_filter_actions (id,name,description) values (1, 'filter',
- 'Filter article');
+ 'Delete article');
insert into ttrss_filter_actions (id,name,description) values (2, 'catchup',
'Mark as read');
@@ -258,7 +258,7 @@ create table ttrss_tags (id integer primary key auto_increment,
create table ttrss_version (schema_version int not null) TYPE=InnoDB DEFAULT CHARSET=UTF8;
-insert into ttrss_version values (80);
+insert into ttrss_version values (81);
create table ttrss_enclosures (id integer primary key auto_increment,
content_url text not null,
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index cb0d39ea6..d73206411 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -188,7 +188,7 @@ create table ttrss_filter_actions (id integer not null primary key,
description varchar(250) not null unique);
insert into ttrss_filter_actions (id,name,description) values (1, 'filter',
- 'Filter article');
+ 'Delete article');
insert into ttrss_filter_actions (id,name,description) values (2, 'catchup',
'Mark as read');
@@ -229,7 +229,7 @@ create index ttrss_tags_post_int_id_idx on ttrss_tags(post_int_id);
create table ttrss_version (schema_version int not null);
-insert into ttrss_version values (80);
+insert into ttrss_version values (81);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
diff --git a/schema/versions/mysql/81.sql b/schema/versions/mysql/81.sql
new file mode 100644
index 000000000..800ceede0
--- /dev/null
+++ b/schema/versions/mysql/81.sql
@@ -0,0 +1,7 @@
+begin;
+
+update ttrss_filter_actions set description = 'Delete article' where name = 'filter';
+
+update ttrss_version set schema_version = 81;
+
+commit;
diff --git a/schema/versions/pgsql/81.sql b/schema/versions/pgsql/81.sql
new file mode 100644
index 000000000..800ceede0
--- /dev/null
+++ b/schema/versions/pgsql/81.sql
@@ -0,0 +1,7 @@
+begin;
+
+update ttrss_filter_actions set description = 'Delete article' where name = 'filter';
+
+update ttrss_version set schema_version = 81;
+
+commit;