From c0fb0a5ec04c064bb848534185b51c5d1b7bdaaf Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <noreply@fakecake.org>
Date: Thu, 4 Mar 2021 08:30:52 +0300
Subject: wip for db_migrations for core schema

---
 sql/pgsql/migrations/139.sql | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 sql/pgsql/migrations/139.sql

(limited to 'sql/pgsql/migrations/139.sql')

diff --git a/sql/pgsql/migrations/139.sql b/sql/pgsql/migrations/139.sql
new file mode 100644
index 000000000..b2617390c
--- /dev/null
+++ b/sql/pgsql/migrations/139.sql
@@ -0,0 +1,13 @@
+begin;
+
+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;
+
+commit;
-- 
cgit v1.2.3

