2006-02-26 06:39:09 +00:00
|
|
|
begin;
|
|
|
|
|
|
|
|
alter table ttrss_entries add column author varchar(250);
|
|
|
|
|
|
|
|
update ttrss_entries set author = '';
|
|
|
|
|
|
|
|
alter table ttrss_entries alter column author set not null;
|
|
|
|
alter table ttrss_entries alter column author set default '';
|
|
|
|
|
2006-03-02 08:10:43 +00:00
|
|
|
create table ttrss_sessions (int_id serial not null primary key,
|
|
|
|
id varchar(300) unique not null,
|
|
|
|
data text,
|
|
|
|
expire integer not null);
|
|
|
|
|
|
|
|
create index ttrss_sessions_id_index on ttrss_sessions(id);
|
|
|
|
create index ttrss_sessions_expire_index on ttrss_sessions(expire);
|
|
|
|
|
2006-02-26 06:39:09 +00:00
|
|
|
update ttrss_version set schema_version = 6;
|
|
|
|
|
|
|
|
commit;
|