From ca3a42f680427cb2f26d55e2458467001d06494c Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 14 Dec 2019 21:21:50 +0100 Subject: [PATCH] :bug: Add missing postgresql_init.sql file. --- backend/src/uxbox/config.clj | 2 +- docker/devenv/files/postgresql_init.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 docker/devenv/files/postgresql_init.sql diff --git a/backend/src/uxbox/config.clj b/backend/src/uxbox/config.clj index 1133e319f..795c563cb 100644 --- a/backend/src/uxbox/config.clj +++ b/backend/src/uxbox/config.clj @@ -64,7 +64,7 @@ (defn read-test-config [] (assoc (read-config) - :database-uri "postgresql://postgres/test" + :database-uri "postgresql://postgres/uxbox_test" :media-directory "/tmp/uxbox/media" :assets-directory "/tmp/uxbox/static" :migrations-verbose false)) diff --git a/docker/devenv/files/postgresql_init.sql b/docker/devenv/files/postgresql_init.sql new file mode 100644 index 000000000..72b25901e --- /dev/null +++ b/docker/devenv/files/postgresql_init.sql @@ -0,0 +1 @@ +CREATE DATABASE uxbox_test;