ttrss_version table (schema updated)
This commit is contained in:
parent
9826bd2ed9
commit
5f171894d1
3 changed files with 17 additions and 0 deletions
|
@ -84,3 +84,10 @@ create table ttrss_tags (id integer primary key auto_increment,
|
||||||
index (post_id),
|
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) TYPE=InnoDB;
|
||||||
|
|
||||||
|
drop table ttrss_version;
|
||||||
|
|
||||||
|
create table ttrss_version (schema_version int not null) TYPE=InnoDB;
|
||||||
|
|
||||||
|
insert into ttrss_version values (1);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -79,3 +79,9 @@ create table ttrss_tags (id serial primary key,
|
||||||
tag_name varchar(250) not null,
|
tag_name varchar(250) not null,
|
||||||
post_id integer references ttrss_entries(id) ON DELETE CASCADE not null);
|
post_id integer references ttrss_entries(id) ON DELETE CASCADE not null);
|
||||||
|
|
||||||
|
drop table ttrss_version;
|
||||||
|
|
||||||
|
create table ttrss_version (schema_version int not null);
|
||||||
|
|
||||||
|
insert into ttrss_version values (1);
|
||||||
|
|
||||||
|
|
|
@ -12,4 +12,8 @@ alter table ttrss_feeds alter column last_error set default '';
|
||||||
alter table ttrss_feeds alter column site_url set not null;
|
alter table ttrss_feeds alter column site_url set not null;
|
||||||
alter table ttrss_feeds alter column site_url set default '';
|
alter table ttrss_feeds alter column site_url set default '';
|
||||||
|
|
||||||
|
create table ttrss_version (schema_version int not null);
|
||||||
|
|
||||||
|
insert into ttrss_version values (1);
|
||||||
|
|
||||||
commit;
|
commit;
|
||||||
|
|
Loading…
Reference in a new issue