datasource db { provider = "postgresql" // Wasp requires that the url is set to the DATABASE_URL environment variable. url = env("DATABASE_URL") extensions = [pgvector(map: "vector")] } // Wasp requires the `prisma-client-js` generator to be present. generator client { provider = "prisma-client-js" previewFeatures = ["postgresqlExtensions"] } model Document { id String @id @default(uuid()) title String url String @unique content String embedding Unsupported("vector(1536)") createdAt DateTime @default(now()) updatedAt DateTime @updatedAt }