bubble/db/setup-user.sql
2024-11-12 14:33:23 -08:00

9 lines
258 B
SQL

-- Create the user that we'll use for service data
DO $SERVICE_USER_CREATION$
BEGIN
CREATE ROLE bubble_admin WITH PASSWORD $1;
EXCEPTION WHEN duplicate_object THEN RAISE NOTICE '%, skipping', SQLERRM USING ERRCODE = SQLSTATE;
END
$SERVICE_USER_CREATION$;