mirror of
https://github.com/SrIzan10/starters.git
synced 2026-05-01 11:05:16 +00:00
- Remove serverless example (it was basically dup of with-postgres) - Add plugin (e.g. postgres) to example name - Update all javascript examples and make sure they work - Cleanup a bit of the ui in nextjs example
18 lines
359 B
Plaintext
18 lines
359 B
Plaintext
// This is your Prisma schema file,
|
|
// learn more about it in the docs: https://pris.ly/d/prisma-schema
|
|
|
|
datasource db {
|
|
provider = "postgresql"
|
|
url = env("DATABASE_URL")
|
|
}
|
|
|
|
generator client {
|
|
provider = "prisma-client-js"
|
|
}
|
|
|
|
model Item {
|
|
id Int @id @default(autoincrement())
|
|
createdAt DateTime @default(now())
|
|
value String
|
|
}
|