You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
794 B
MySQL
25 lines
794 B
MySQL
19 years ago
|
begin;
|
||
|
|
||
19 years ago
|
alter table ttrss_feeds add column last_error text;
|
||
19 years ago
|
alter table ttrss_feeds add column site_url varchar(250);
|
||
19 years ago
|
alter table ttrss_feeds add column update_interval integer;
|
||
19 years ago
|
|
||
19 years ago
|
update ttrss_feeds set last_error = '';
|
||
19 years ago
|
update ttrss_feeds set site_url = '';
|
||
19 years ago
|
update ttrss_feeds set update_interval = 0;
|
||
19 years ago
|
|
||
|
alter table ttrss_feeds alter column last_error set not null;
|
||
|
alter table ttrss_feeds alter column last_error set default '';
|
||
|
|
||
19 years ago
|
alter table ttrss_feeds alter column site_url set not null;
|
||
|
alter table ttrss_feeds alter column site_url set default '';
|
||
|
|
||
19 years ago
|
alter table ttrss_feeds alter column update_interval set not null;
|
||
|
alter table ttrss_feeds alter column update_interval set default 0;
|
||
|
|
||
19 years ago
|
create table ttrss_version (schema_version int not null);
|
||
|
|
||
|
insert into ttrss_version values (1);
|
||
|
|
||
19 years ago
|
commit;
|