generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "sqlite"
  url      = env("DATABASE_URL")
}

model ShortLink {
  id        String   @id @default(cuid())
  shortCode String   @unique
  fullUrl   String
  createdAt DateTime @default(now())
  updatedAt DateTime @updatedAt

  @@index([shortCode])
}
