2005-11-02 11:53:06 +00:00
|
|
|
begin;
|
|
|
|
|
2005-11-01 09:00:18 +00:00
|
|
|
alter table ttrss_feeds add column last_error text;
|
2005-11-17 10:42:52 +00:00
|
|
|
alter table ttrss_feeds add column site_url varchar(250);
|
2005-12-04 11:51:53 +00:00
|
|
|
alter table ttrss_feeds add column update_interval integer;
|
2005-11-01 09:00:18 +00:00
|
|
|
|
2005-11-01 09:01:03 +00:00
|
|
|
update ttrss_feeds set last_error = '';
|
2005-11-02 11:53:06 +00:00
|
|
|
update ttrss_feeds set site_url = '';
|
2005-12-04 11:51:53 +00:00
|
|
|
update ttrss_feeds set update_interval = 0;
|
2005-11-01 09:00:18 +00:00
|
|
|
|
|
|
|
alter table ttrss_feeds alter column last_error set not null;
|
|
|
|
alter table ttrss_feeds alter column last_error set default '';
|
|
|
|
|
2005-11-02 11:53:06 +00:00
|
|
|
alter table ttrss_feeds alter column site_url set not null;
|
|
|
|
alter table ttrss_feeds alter column site_url set default '';
|
|
|
|
|
2005-12-04 11:51:53 +00:00
|
|
|
alter table ttrss_feeds alter column update_interval set not null;
|
|
|
|
alter table ttrss_feeds alter column update_interval set default 0;
|
|
|
|
|
2005-11-10 04:34:36 +00:00
|
|
|
create table ttrss_version (schema_version int not null);
|
|
|
|
|
|
|
|
insert into ttrss_version values (1);
|
|
|
|
|
2005-11-02 11:53:06 +00:00
|
|
|
commit;
|