From b158103f2f6a3295d00dc4a1344b8bc38bcb43a4 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <noreply@fakecake.org>
Date: Fri, 1 Nov 2019 13:30:12 +0300
Subject: schema: add missing stuff

---
 schema/ttrss_schema_mysql.sql | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'schema/ttrss_schema_mysql.sql')

diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index d4e3f3d1d..8f7fb8d31 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -58,6 +58,14 @@ create table ttrss_users (id integer primary key not null auto_increment,
 insert into ttrss_users (login,pwd_hash,access_level) values ('admin',
 	'SHA1:5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8', 10);
 
+create table ttrss_app_passwords (id integer not null primary key auto_increment,
+    title varchar(250) not null,
+    pwd_hash text not null,
+    service varchar(100) not null,
+    created datetime not null,
+    last_used datetime default null,
+    owner_uid integer not null references ttrss_users(id) on delete cascade);
+
 create table ttrss_feed_categories(id integer not null primary key auto_increment,
 	owner_uid integer not null,
 	title varchar(200) not null,
-- 
cgit v1.2.3-54-g00ecf

