tt-rss/schema/upgrade-1.0.6-1.0.7-pgsql.sql

20 lines
574 B
MySQL
Raw Normal View History

begin;
2005-11-01 10:00:18 +01:00
alter table ttrss_feeds add column last_error text;
alter table ttrss_feeds add column site_url varchar(250) not null default '';
2005-11-01 10:00:18 +01:00
2005-11-01 10:01:03 +01:00
update ttrss_feeds set last_error = '';
update ttrss_feeds set site_url = '';
2005-11-01 10:00:18 +01:00
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 '';
2005-11-10 05:34:36 +01:00
create table ttrss_version (schema_version int not null);
insert into ttrss_version values (1);
commit;