wego-technologies / freightwebster

https://freightwebster.vercel.app
MIT License
3 stars 1 forks source link

Feat ✨: Add prisma ORM #1

Closed Dorcy64 closed 7 months ago

Dorcy64 commented 7 months ago

I am going to setup prisma ORM to pull data in the API and build this table design, then create the crud endpoints: list, create, view

model Glossary {
  id          Int      @id @default(autoincrement())
  term        varchar(124) 
  definition  varchar(1000) 
  views       Int
  visible     Boolean

  created_dt  DateTime @default(now())
}

@@index(term)