Skip to content

Commit

Permalink
chore: make initial value full schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovyerus committed Jul 28, 2021
1 parent b13797f commit 95f9aab
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
next-env.d.ts
.next
.eslintrc.js
next.config.js
*.config.js
# next.config.js
# tailwind.config.js
9 changes: 9 additions & 0 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ import Layout from "~/components/Layout";
import { ErrorTypes, SchemaError } from "~/util/types";

const initial = `
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
generator client {
provider = "prisma-client-js"
}
model User {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
Expand Down

0 comments on commit 95f9aab

Please sign in to comment.