Skip to content

Commit 95f9aab

Browse files
committed
chore: make initial value full schema
1 parent b13797f commit 95f9aab

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.eslintignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
next-env.d.ts
22
.next
33
.eslintrc.js
4-
next.config.js
4+
*.config.js
5+
# next.config.js
6+
# tailwind.config.js

pages/index.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ import Layout from "~/components/Layout";
1111
import { ErrorTypes, SchemaError } from "~/util/types";
1212

1313
const initial = `
14+
datasource db {
15+
provider = "postgresql"
16+
url = env("DATABASE_URL")
17+
}
18+
19+
generator client {
20+
provider = "prisma-client-js"
21+
}
22+
1423
model User {
1524
id Int @id @default(autoincrement())
1625
createdAt DateTime @default(now())

0 commit comments

Comments
 (0)