change description of filter 'filter' action (bump schema)

This commit is contained in:
Andrew Dolgov 2011-03-10 11:54:10 +03:00
parent 530f5cdafa
commit b9ad7cface
5 changed files with 19 additions and 5 deletions

View file

@ -2,7 +2,7 @@
require_once "functions.php";
define('EXPECTED_CONFIG_VERSION', 21);
define('SCHEMA_VERSION', 80);
define('SCHEMA_VERSION', 81);
if (!file_exists("config.php")) {
print "<b>Fatal Error</b>: You forgot to copy

View file

@ -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,

View file

@ -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,

View file

@ -0,0 +1,7 @@
begin;
update ttrss_filter_actions set description = 'Delete article' where name = 'filter';
update ttrss_version set schema_version = 81;
commit;

View file

@ -0,0 +1,7 @@
begin;
update ttrss_filter_actions set description = 'Delete article' where name = 'filter';
update ttrss_version set schema_version = 81;
commit;