summaryrefslogtreecommitdiff
path: root/schema/versions/pgsql/139.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2019-11-01 13:30:12 +0300
committerAndrew Dolgov <[email protected]>2019-11-01 13:30:12 +0300
commitb158103f2f6a3295d00dc4a1344b8bc38bcb43a4 (patch)
tree94cc6786e9958f8d734cb448542b7e744be7e62a /schema/versions/pgsql/139.sql
parent68b0380118cc0ff4f8dc99125dce7d97b61e02f3 (diff)
schema: add missing stuff
Diffstat (limited to 'schema/versions/pgsql/139.sql')
-rw-r--r--schema/versions/pgsql/139.sql2
1 files changed, 2 insertions, 0 deletions
diff --git a/schema/versions/pgsql/139.sql b/schema/versions/pgsql/139.sql
index 6001ee139..b2617390c 100644
--- a/schema/versions/pgsql/139.sql
+++ b/schema/versions/pgsql/139.sql
@@ -4,6 +4,8 @@ create table ttrss_app_passwords (id serial not null primary key,
title varchar(250) not null,
pwd_hash text not null,
service varchar(100) not null,
+ created timestamp not null,
+ last_used timestamp default null,
owner_uid integer not null references ttrss_users(id) on delete cascade);
update ttrss_version set schema_version = 139;