summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorRobert Zorko <robertz@gurucue.com>2015-09-29 15:31:42 +0200
committerRobert Zorko <robertz@gurucue.com>2015-09-29 15:31:42 +0200
commit4c376fb2adde669f34c4b17e059e65a174629b54 (patch)
tree9e6b0dabe34e8993d73d66fd4a754ad86494b4ca /db
parente58c8bd7ea894e28a23a68b664772314720cd879 (diff)
added settings to the user session and the login function now also returns those settings - currently only gui language is implemented. The create.sql script is updated for that change as well.
Diffstat (limited to 'db')
-rw-r--r--db/create.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/create.sql b/db/create.sql
index e720238..57c3647 100644
--- a/db/create.sql
+++ b/db/create.sql
@@ -33,6 +33,7 @@ create table codeq_user (
is_active bool not null,
date_joined timestamp not null,
last_login timestamp not null,
+ gui_lang varchar(2),
constraint codeq_user_pk primary key (id),
constraint codeq_user_uq1 unique (username)
);