X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/a8c9873e09dca96c125bfb0c126d84b6742d2351..8d24868f33a1f969b873713b5474d9e4599cda6b:/sql/Pg-upgrade2/user_preferences.sql

diff --git a/sql/Pg-upgrade2/user_preferences.sql b/sql/Pg-upgrade2/user_preferences.sql
new file mode 100644
index 000000000..d20beea5f
--- /dev/null
+++ b/sql/Pg-upgrade2/user_preferences.sql
@@ -0,0 +1,14 @@
+-- @tag: user_preferences
+-- @description: Benutzereinstellungen
+-- @depends: release_3_4_1
+-- @encoding: utf-8
+
+CREATE TABLE user_preferences (
+  id         SERIAL PRIMARY KEY,
+  login      TEXT NOT NULL,
+  namespace  TEXT NOT NULL,
+  version    NUMERIC(15,5),
+  key        TEXT NOT NULL,
+  value      TEXT,
+  UNIQUE (login, namespace, version, key)
+);
