generate:pg doesn't create pgEnums

CREATE TABLE IF NOT EXISTS "accounts" (
    "id" varchar(36) PRIMARY KEY NOT NULL,
    "provider" provider NOT NULL,
    "providerId" varchar(255) NOT NULL,
    "userId" varchar(36) NOT NULL,
    "createdAt" timestamp DEFAULT now(),
    "updatedAt" timestamp DEFAULT now()
);
Was this page helpful?