2023-07-27 19:48:40 +03:00
|
|
|
-- Create the default database for development
|
2023-04-20 14:45:59 +03:00
|
|
|
CREATE DATABASE "default";
|
2023-07-27 19:48:40 +03:00
|
|
|
|
|
|
|
-- Create the tests database for e2e testing
|
2023-07-27 21:53:00 +03:00
|
|
|
CREATE DATABASE "test";
|
2023-08-10 08:24:15 +03:00
|
|
|
|
|
|
|
-- Create a twenty user
|
|
|
|
CREATE USER twenty PASSWORD 'twenty';
|
2023-08-11 01:09:52 +03:00
|
|
|
ALTER USER twenty CREATEDB;
|
2023-09-21 03:24:13 +03:00
|
|
|
|
|
|
|
-- Connect to the "default" database
|
|
|
|
\c "default";
|
|
|
|
|
|
|
|
-- Create the metadata schema if it doesn't exist
|
|
|
|
CREATE SCHEMA IF NOT EXISTS "metadata";
|