Files

6 lines
188 B
SQL
Raw Permalink Normal View History

-- CreateEnum
CREATE TYPE "PersonMood" AS ENUM ('newcomer', 'happy', 'unhappy', 'special');
-- AlterTable
ALTER TABLE "Person" ADD COLUMN "mood" "PersonMood" NOT NULL DEFAULT 'newcomer';