diff options
author | Andrew Dolgov <[email protected]> | 2005-12-28 19:59:47 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-12-28 19:59:47 +0100 |
commit | de99f5005d48a668392ff4bda877854134e0d2f1 (patch) | |
tree | ff1ed8884e4b3a7ecee38f3563add4ca854de794 /schema/upgrade-1.1-1.1.1-pgsql.sql | |
parent | 09829e2a32770772fa07ce2eff958dc0050939c0 (diff) |
add parent_feed column to ttrss_feeds, create upgrade script for 1.1.1, move out old scripts to schema/obsolete
Diffstat (limited to 'schema/upgrade-1.1-1.1.1-pgsql.sql')
-rw-r--r-- | schema/upgrade-1.1-1.1.1-pgsql.sql | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/schema/upgrade-1.1-1.1.1-pgsql.sql b/schema/upgrade-1.1-1.1.1-pgsql.sql deleted file mode 100644 index 5b23f3366..000000000 --- a/schema/upgrade-1.1-1.1.1-pgsql.sql +++ /dev/null @@ -1,43 +0,0 @@ -begin; - -alter table ttrss_entries add column num_comments integer; - -update ttrss_entries set num_comments = 0; - -alter table ttrss_entries alter column num_comments set not null; -alter table ttrss_entries alter column num_comments set default 0; - -insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id,help_text) values('COMBINED_DISPLAY_MODE', 1, 'false', 'Combined feed display',2, - 'Display expanded list of feed articles, instead of separate displays for headlines and article content'); - -alter table ttrss_feed_categories add column collapsed boolean; - -update ttrss_feed_categories set collapsed = false; - -alter table ttrss_feed_categories alter column collapsed set not null; -alter table ttrss_feed_categories alter column collapsed set default false; - -alter table ttrss_feeds add column auth_login varchar(250); -alter table ttrss_feeds add column auth_pass varchar(250); - -update ttrss_feeds set auth_login = ''; -update ttrss_feeds set auth_pass = ''; - -alter table ttrss_feeds alter column auth_login set not null; -alter table ttrss_feeds alter column auth_login set default ''; - -alter table ttrss_feeds alter column auth_pass set not null; -alter table ttrss_feeds alter column auth_pass set default ''; - -alter table ttrss_users add column email varchar(250); - -update ttrss_users set email = ''; - -alter table ttrss_users alter column email set not null; -alter table ttrss_users alter column email set default ''; - -insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('ENABLE_SEARCH_TOOLBAR', 1, 'false', 'Enable search toolbar',2); - -update ttrss_version set schema_version = 3; - -commit; |