ttrss/schema/upgrade-1.1.3-1.1.4-mysql.sql

17 lines
471 B
MySQL
Raw Normal View History

alter table ttrss_entries add column author varchar(250);
update ttrss_entries set author = '';
alter table ttrss_entries change author author varchar(250) 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) not null primary key,
2006-03-02 08:10:43 +00:00
data text,
expire integer not null,
2006-03-02 08:32:44 +00:00
ip_address varchar(15) not null default '',
2006-03-02 12:15:28 +00:00
index (id),
2006-03-02 08:10:43 +00:00
index (expire)) TYPE=InnoDB;
update ttrss_version set schema_version = 6;