mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-22 06:11:34 +00:00
wip for db_migrations for core schema
This commit is contained in:
12
sql/mysql/migrations/5.sql
Normal file
12
sql/mysql/migrations/5.sql
Normal file
@@ -0,0 +1,12 @@
|
||||
begin;
|
||||
|
||||
create table ttrss_scheduled_updates (id integer not null primary key auto_increment,
|
||||
owner_uid integer not null,
|
||||
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) ENGINE=InnoDB;
|
||||
|
||||
update ttrss_version set schema_version = 5;
|
||||
|
||||
commit;
|
||||
Reference in New Issue
Block a user