-- Create Nakama database for game server
-- This runs before init.sql (alphabetically sorted)
-- Note: This runs in the context of the postgres database

-- Create the nakama database if it doesn't exist
SELECT 'CREATE DATABASE nakama'
WHERE NOT EXISTS (SELECT FROM pg_database WHERE datname = 'nakama')\gexec
