5 lines
177 B
SQL
5 lines
177 B
SQL
-- CreateEnum
|
|
CREATE TYPE "ImageFormat" AS ENUM ('UUID', 'DATE', 'RANDOM');
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "Image" ADD COLUMN "format" "ImageFormat" NOT NULL DEFAULT E'RANDOM';
|