From 2aed79d729cc91eff4781b01f24e7edb0b2321bc Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <noreply@fakecake.org>
Date: Fri, 5 Mar 2021 17:16:48 +0300
Subject: schema: add separate otp_secret column

---
 sql/mysql/schema.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'sql/mysql/schema.sql')

diff --git a/sql/mysql/schema.sql b/sql/mysql/schema.sql
index cb1536ab6..64d423f04 100644
--- a/sql/mysql/schema.sql
+++ b/sql/mysql/schema.sql
@@ -53,6 +53,7 @@ create table ttrss_users (id integer primary key not null auto_increment,
 	created datetime default null,
 	twitter_oauth longtext default null,
 	otp_enabled boolean not null default false,
+	otp_secret varchar(250) default null,
 	resetpass_token varchar(250) default null) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
 
 insert into ttrss_users (login,pwd_hash,access_level) values ('admin',
-- 
cgit v1.2.3-54-g00ecf

