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 12:15:28 +00:00
create table ttrss_sessions ( id varchar ( 250 ) unique not null primary key ,
2006-03-02 08:20:02 +00:00
data text ,
2006-03-02 08:32:44 +00:00
expire integer not null ,
ip_address varchar ( 15 ) not null default ' ' ) ;
2006-03-02 08:10:43 +00:00
create index ttrss_sessions_id_index on ttrss_sessions ( id ) ;
create index ttrss_sessions_expire_index on ttrss_sessions ( expire ) ;
2006-03-04 06:32:40 +00:00
delete from ttrss_prefs where pref_name = ' ENABLE_SPLASH ' ;
2006-03-06 04:45:54 +00:00
insert into ttrss_prefs ( pref_name , type_id , def_value , short_desc , section_id ) values ( ' OPEN_LINKS_IN_NEW_WINDOW ' , 1 , ' true ' , ' Open article links in new browser window ' , 2 ) ;
2006-02-26 06:39:09 +00:00
update ttrss_version set schema_version = 6 ;
commit ;