bubble/db/setup-user.sql

9 lines
239 B
SQL

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