From 441bca2319f66a7fd79f350e45fdc5f018e9f2e7 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sun, 28 Feb 2016 15:52:09 +0100 Subject: 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. --- scripts/db_update-20160228.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 scripts/db_update-20160228.sql (limited to 'scripts') 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; -- cgit v1.2.1