diff options
author | Andrew Dolgov <[email protected]> | 2005-11-19 11:32:59 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-11-19 11:32:59 +0100 |
commit | 71604ca4e9a25a0c65674a92e00e396c92c2c848 (patch) | |
tree | c1b1720b51ba4a03acefd579f17702631c559a78 /schema | |
parent | 35d8cf43bcf037a7017462e01a0b21bcede6f0db (diff) |
new option - ALLOW_DUPLICATE_POSTS
Diffstat (limited to 'schema')
-rw-r--r-- | schema/ttrss_schema_mysql.sql | 4 | ||||
-rw-r--r-- | schema/ttrss_schema_pgsql.sql | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql index 6851d6170..587890527 100644 --- a/schema/ttrss_schema_mysql.sql +++ b/schema/ttrss_schema_mysql.sql @@ -169,6 +169,10 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('ENABLE_SPLASH', 1, 'false', 'Enable loading splashscreen',2); +insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('ALLOW_DUPLICATE_POSTS', 1, 'true', 'Allow duplicate posts',1, + 'This option is useful when you are reading several planet-type aggregators with partially colliding userbase. + When disabled, it forces same posts from different sources to appear only once'); + create table ttrss_user_prefs ( owner_uid integer not null, pref_name varchar(250), diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index 0abb81304..012ed3366 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -160,6 +160,10 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('ENABLE_SPLASH', 1, 'false', 'Enable loading splashscreen',2); +insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('ALLOW_DUPLICATE_POSTS', 1, 'true', 'Allow duplicate posts',1, + 'This option is useful when you are reading several planet-type aggregators with partially colliding userbase. + When disabled, it forces same posts from different sources to appear only once'); + create table ttrss_user_prefs ( owner_uid integer not null references ttrss_users(id) on delete cascade, pref_name varchar(250) not null references ttrss_prefs(pref_name), |