15 lines
569 B
SQL
15 lines
569 B
SQL
-- AlterEnum
|
|
-- This migration adds more than one value to an enum.
|
|
-- With PostgreSQL versions 11 and earlier, this is not possible
|
|
-- in a single migration. This can be worked around by creating
|
|
-- multiple migrations, each migration adding only one value to
|
|
-- the enum.
|
|
|
|
|
|
ALTER TYPE "UserRole" ADD VALUE 'BROADCAST_ADMIN';
|
|
ALTER TYPE "UserRole" ADD VALUE 'CONTENT_ADMIN';
|
|
ALTER TYPE "UserRole" ADD VALUE 'MEDIA_ADMIN';
|
|
ALTER TYPE "UserRole" ADD VALUE 'PAYMENTS_ADMIN';
|
|
ALTER TYPE "UserRole" ADD VALUE 'EVENTS_ADMIN';
|
|
ALTER TYPE "UserRole" ADD VALUE 'SOCIAL_ADMIN';
|