summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-28 15:52:09 +0100
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2016-02-28 16:01:00 +0100
commit441bca2319f66a7fd79f350e45fdc5f018e9f2e7 (patch)
treec4369deb2d68bc2684e64515a7026f49c0b14191 /scripts
parent3072efb05b460f8edcf1d9187a92e98e513ca421 (diff)
Add experiments column to codeq_user
This JSON column holds an array of experiment objects, for example: [{'id': 'prolog_hints', 'group': 'manual_hints'}]. To include users in an experiment, just add appropriate objects to their records. Not the cleanest design from the DB point of view, but enough for the single current use case.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/db_update-20160228.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/db_update-20160228.sql b/scripts/db_update-20160228.sql
new file mode 100644
index 0000000..73b045c
--- /dev/null
+++ b/scripts/db_update-20160228.sql
@@ -0,0 +1 @@
+alter table codeq_user add column experiments jsonb;