// This is your Prisma schema file, // learn more about it in the docs: https://pris.ly/d/prisma-schema generator client { provider = "prisma-client-js" previewFeatures = ["postgresqlExtensions"] } datasource db { provider = "postgresql" url = env("DATABASE_URL") extensions = [postgis] } model Territory { uuid String @id @default(uuid()) @db.Uuid name String @unique shape Unsupported("geometry") createdAt DateTime @default(now()) updatedAt DateTime @updatedAt @@index([shape], name: "shape_idx", type: Gist) @@map("territory") }