bubble/db/setup-user.sql

9 lines
239 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
CREATE ROLE bubble_api;
EXCEPTION WHEN duplicate_object THEN RAISE NOTICE '%, skipping', SQLERRM USING ERRCODE = SQLSTATE;
END
$SERVICE_USER_CREATION$;