Commit 3fff8e25 authored by BERJON Matthieu's avatar BERJON Matthieu
Browse files

Update of the webapps table

I updated the webapps table in order to put all null values to 0
(meaning public and it corresponds to what have been done in the rails
app). I changed as well the field to not accept any null values and use
a default to 1 (private) if nothing is specified by the user.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <>
parent 268dbf09
......@@ -253,9 +253,10 @@ ALTER TABLE `dj_users`
-- Update of webapps table
UPDATE `dj_webapps` SET `private` = 0 WHERE `private` is null;
ALTER TABLE `dj_webapps`
DROP COLUMN `private`,
CHANGE COLUMN `default_job_queue_id` `job_queue_id` int(11) NOT NULL,
MODIFY `private` tinyint(1) NOT NULL DEFAULT 1,
ADD UNIQUE (docker_name);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment