added availability
This commit is contained in:
11
db/init/01-extensions-and-test-db.sql
Normal file
11
db/init/01-extensions-and-test-db.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
-- Runs once on first container start (POSTGRES_DB = touchbase_dev already exists).
|
||||
|
||||
CREATE DATABASE touchbase_test OWNER touchbase;
|
||||
|
||||
\connect touchbase_dev
|
||||
CREATE EXTENSION IF NOT EXISTS btree_gist;
|
||||
CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
||||
|
||||
\connect touchbase_test
|
||||
CREATE EXTENSION IF NOT EXISTS btree_gist;
|
||||
CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
||||
Reference in New Issue
Block a user