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)
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