summaryrefslogtreecommitdiff
path: root/schema/versions/mysql/141.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-25 10:11:09 +0300
committerAndrew Dolgov <[email protected]>2021-02-25 10:11:09 +0300
commit1112922029d9eb8fe727d5adb1b5b0a1808946aa (patch)
tree4c75d38e2cc648468bcba47ec0fc3926bdecb17f /schema/versions/mysql/141.sql
parent922a6992153a95b0639253752a6125a45d4fd3ab (diff)
bump schema for upcoming prefs overhaul
Diffstat (limited to 'schema/versions/mysql/141.sql')
-rw-r--r--schema/versions/mysql/141.sql9
1 files changed, 9 insertions, 0 deletions
diff --git a/schema/versions/mysql/141.sql b/schema/versions/mysql/141.sql
new file mode 100644
index 000000000..03caf23d0
--- /dev/null
+++ b/schema/versions/mysql/141.sql
@@ -0,0 +1,9 @@
+create table ttrss_user_prefs2 (
+ owner_uid integer not null,
+ pref_name varchar(250),
+ profile integer null,
+ value longtext not null,
+ foreign key (profile) references ttrss_settings_profiles(id) ON DELETE CASCADE,
+ foreign key (owner_uid) references ttrss_users(id) ON DELETE CASCADE) ENGINE=InnoDB DEFAULT CHARSET=UTF8;
+
+update ttrss_version set schema_version = 141;