feed_id integer default null,
entered datetime not null,
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE,
- foreign key (feed_id) references ttrss_feeds(id) ON DELETE CASCADE) TYPE=InnoDB;
+ foreign key (feed_id) references ttrss_feeds(id) ON DELETE CASCADE) ENGINE=InnoDB;
update ttrss_version set schema_version = 5;
owner_uid integer not null,
caption varchar(250) not null,
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE
-) TYPE=InnoDB;
+) ENGINE=InnoDB;
create table ttrss_user_labels2 (label_id integer not null,
article_id integer not null,
foreign key (label_id) references ttrss_labels2(id) ON DELETE CASCADE,
foreign key (article_id) references ttrss_entries(id) ON DELETE CASCADE
-) TYPE=InnoDB;
+) ENGINE=InnoDB;
insert into ttrss_filter_actions (id,name,description) values (7, 'label',
'Assign label');
title text not null,
duration text not null,
index (post_id),
- foreign key (post_id) references ttrss_entries(id) ON DELETE cascade) TYPE=InnoDB;
+ foreign key (post_id) references ttrss_entries(id) ON DELETE cascade) ENGINE=InnoDB;
update ttrss_version set schema_version = 56;
expire integer not null,
ip_address varchar(15) not null default '',
index (id),
- index (expire)) TYPE=InnoDB;
+ index (expire)) ENGINE=InnoDB;
delete from ttrss_prefs where pref_name = 'ENABLE_SPLASH';
feed_url text not null,
site_url varchar(250) not null default '',
index(owner_uid),
- foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) TYPE=InnoDB;
+ foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB;
alter table ttrss_user_entries add column orig_feed_id integer;
update ttrss_user_entries set orig_feed_id = NULL;
title varchar(250) not null,
owner_uid integer not null,
index (owner_uid),
- foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) TYPE=InnoDB;
+ foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB;
alter table ttrss_user_prefs add column profile integer;
update ttrss_user_prefs set profile = NULL;
feed_id varchar(250) not null,
is_cat bool not null default false,
owner_uid integer not null,
- foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) TYPE=InnoDB DEFAULT CHARSET=UTF8;
+ foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
update ttrss_version set schema_version = 69;
last_status_in integer not null,
last_status_out integer not null,
access_key varchar(250) not null unique,
- access_url text not null) TYPE=InnoDB DEFAULT CHARSET=UTF8;
+ access_url text not null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
create table ttrss_linked_feeds (
feed_url text not null,
updated datetime not null,
instance_id integer not null,
subscribers integer not null,
- foreign key (instance_id) references ttrss_linked_instances(id) ON DELETE CASCADE) TYPE=InnoDB DEFAULT CHARSET=UTF8;
+ foreign key (instance_id) references ttrss_linked_instances(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
drop table ttrss_scheduled_updates;