show notice creators with admin avatars
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2026-07-10 11:11:32 +09:00
parent 609c345739
commit 6311f8a553
5 changed files with 86 additions and 8 deletions
@@ -0,0 +1,16 @@
DO $$
BEGIN
IF to_regclass('public.launcher_notices') IS NOT NULL THEN
ALTER TABLE "launcher_notices"
ADD COLUMN IF NOT EXISTS "created_by_id" UUID,
ADD COLUMN IF NOT EXISTS "created_by_name" TEXT,
ADD COLUMN IF NOT EXISTS "created_by_email" TEXT;
END IF;
END $$;
DO $$
BEGIN
IF to_regclass('public.launcher_notices') IS NOT NULL THEN
CREATE INDEX IF NOT EXISTS "launcher_notices_created_by_email_idx" ON "launcher_notices"("created_by_email");
END IF;
END $$;