-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.prisma
More file actions
32 lines (28 loc) · 791 Bytes
/
Copy pathschema.prisma
File metadata and controls
32 lines (28 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
previewFeatures = ["fullTextSearch"]
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model JOB {
id Int @id @default(autoincrement())
slug String @unique
companyName String
location String?
locationType String
type String
title String
description String?
applicationUrl String?
applicationEmail String?
salary Int
companyLogoUrl String?
approved Boolean @default(false)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@map ("jobs")
}