platform-codebase/features/profile/frontend-showcase/init-databases.sql

6 lines
320 B
MySQL
Raw Permalink Normal View History

-- Create additional databases needed by the showcase cluster.
-- The primary database (lilith) is created by POSTGRES_DB env var.
-- This script creates the profile-specific database.
SELECT 'CREATE DATABASE lilith_profile OWNER lilith'
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'lilith_profile')\gexec