support transparent encryption for feed passwords, bump schema to drop length limit of ttrss_feeds.auth_pass
This commit is contained in:
7
sql/pgsql/migrations/148.sql
Normal file
7
sql/pgsql/migrations/148.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
alter table ttrss_feeds rename column auth_pass to auth_pass_old;
|
||||
alter table ttrss_feeds add column auth_pass text;
|
||||
update ttrss_feeds set auth_pass = auth_pass_old;
|
||||
alter table ttrss_feeds alter column auth_pass set not null;
|
||||
alter table ttrss_feeds drop column auth_pass_old;
|
||||
|
||||
update ttrss_version set schema_version = 148;
|
||||
@@ -92,7 +92,7 @@ create table ttrss_feeds (id serial not null primary key,
|
||||
auth_login varchar(250) not null default '',
|
||||
parent_feed integer default null references ttrss_feeds(id) on delete set null,
|
||||
private boolean not null default false,
|
||||
auth_pass varchar(250) not null default '',
|
||||
auth_pass text not null default '',
|
||||
hidden boolean not null default false,
|
||||
include_in_digest boolean not null default true,
|
||||
rtl_content boolean not null default false,
|
||||
|
||||
Reference in New Issue
Block a user