twenty/infra/dev/postgres/init.sql

16 lines
378 B
MySQL
Raw Normal View History

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