auth_pass_encrypted boolean not null default false,
last_viewed datetime default null,
last_update_started datetime default null,
+ always_display_enclosures boolean not null default false,
update_method integer not null default 0,
index(owner_uid),
foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE,
create table ttrss_version (schema_version int not null) TYPE=InnoDB;
-insert into ttrss_version values (56);
+insert into ttrss_version values (57);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
last_viewed timestamp default null,
last_update_started timestamp default null,
update_method integer not null default 0,
+ always_display_enclosures boolean not null default false,
auth_pass_encrypted boolean not null default false);
create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid);
create table ttrss_version (schema_version int not null);
-insert into ttrss_version values (56);
+insert into ttrss_version values (57);
create table ttrss_enclosures (id serial not null primary key,
content_url text not null,
--- /dev/null
+alter table ttrss_feeds add column always_display_enclosures boolean;
+update ttrss_feeds set always_display_enclosures = false;
+alter table ttrss_feeds change always_display_enclosures always_display_enclosures boolean not null;
+alter table ttrss_feeds alter column always_display_enclosures set default false;
+
+update ttrss_version set schema_version = 57;
--- /dev/null
+alter table ttrss_feeds add column always_display_enclosures boolean;
+update ttrss_feeds set always_display_enclosures = false;
+alter table ttrss_feeds alter column always_display_enclosures set not null;
+alter table ttrss_feeds alter column always_display_enclosures set default false;
+
+update ttrss_version set schema_version = 57;