mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
20 lines
552 B
MySQL
20 lines
552 B
MySQL
|
drop table if exists ttrss_counters_cache;
|
||
|
|
||
|
create table ttrss_counters_cache (
|
||
|
feed_id integer not null,
|
||
|
owner_uid integer not null,
|
||
|
value integer not null default 0,
|
||
|
updated datetime not null,
|
||
|
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE
|
||
|
);
|
||
|
|
||
|
create table ttrss_cat_counters_cache (
|
||
|
feed_id integer not null,
|
||
|
owner_uid integer not null,
|
||
|
value integer not null default 0,
|
||
|
updated datetime not null,
|
||
|
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE
|
||
|
);
|
||
|
|
||
|
update ttrss_version set schema_version = 50;
|