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.0.6-1.0.7-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.0.6-1.0.7-pgsql.sql')
-rw-r--r-- | schema/upgrade-1.0.6-1.0.7-pgsql.sql | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/schema/upgrade-1.0.6-1.0.7-pgsql.sql b/schema/upgrade-1.0.6-1.0.7-pgsql.sql deleted file mode 100644 index 7f0cfaacf..000000000 --- a/schema/upgrade-1.0.6-1.0.7-pgsql.sql +++ /dev/null @@ -1,24 +0,0 @@ -begin; - -alter table ttrss_feeds add column last_error text; -alter table ttrss_feeds add column site_url varchar(250); -alter table ttrss_feeds add column update_interval integer; - -update ttrss_feeds set last_error = ''; -update ttrss_feeds set site_url = ''; -update ttrss_feeds set update_interval = 0; - -alter table ttrss_feeds alter column last_error set not null; -alter table ttrss_feeds alter column last_error set default ''; - -alter table ttrss_feeds alter column site_url set not null; -alter table ttrss_feeds alter column site_url set default ''; - -alter table ttrss_feeds alter column update_interval set not null; -alter table ttrss_feeds alter column update_interval set default 0; - -create table ttrss_version (schema_version int not null); - -insert into ttrss_version values (1); - -commit; |