bubble/db/setup-user.sql

9 lines
258 B
MySQL
Raw Normal View History

2024-11-12 03:33:54 +00:00
-- Create the user that we'll use for service data
DO $SERVICE_USER_CREATION$
BEGIN
2024-11-12 22:33:23 +00:00
CREATE ROLE bubble_admin WITH PASSWORD $1;
2024-11-12 03:33:54 +00:00
EXCEPTION WHEN duplicate_object THEN RAISE NOTICE '%, skipping', SQLERRM USING ERRCODE = SQLSTATE;
END
$SERVICE_USER_CREATION$;