CREATE TYPE "OriginGoodSource" AS ENUM ('SDS', 'CUSTOM');

ALTER TABLE "origin_goods"
ADD COLUMN "source" "OriginGoodSource" NOT NULL DEFAULT 'SDS';

CREATE INDEX "origin_goods_source_idx" ON "origin_goods"("source");
