CREATE TABLE "music"."osu_match_cache" ( "key" text PRIMARY KEY, "result" jsonb NOT NULL, "searched_at" timestamp with time zone DEFAULT now() NOT NULL ); --> statement-breakpoint DO $$ BEGIN IF current_user = 'personal' THEN GRANT SELECT, INSERT, UPDATE, DELETE ON music.osu_match_cache TO personal_app; END IF; END $$;