mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 18:01:27 +00:00
add column for slash:comments and alike in ttrss_entries (+ add upgrade scripts for 1.1.1)
This commit is contained in:
10
schema/upgrade-1.1-1.1.1-mysql.sql
Normal file
10
schema/upgrade-1.1-1.1.1-mysql.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
begin;
|
||||
|
||||
alter table ttrss_entries add column num_comments integer;
|
||||
|
||||
update ttrss_entries set num_comments = 0;
|
||||
|
||||
alter table ttrss_entries change num_comments num_comments integer not null;
|
||||
alter table ttrss_entries alter column num_comments set default 0;
|
||||
|
||||
commit;
|
||||
Reference in New Issue
Block a user