Skip to content

Commit

Permalink
🔨 db init
Browse files Browse the repository at this point in the history
  • Loading branch information
yuito-it committed Aug 27, 2024
1 parent 6ef59fd commit ccd2df7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions prisma/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.db
*.db-journal
migrations/
14 changes: 14 additions & 0 deletions prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,17 @@ datasource db {
provider = "sqlite"
url = env("DATABASE_URL")
}

model Reminder {
id Int @id @default(autoincrement())
user Int
channel Int
is_repeat Boolean @default(false)
is_enable Boolean @default(true)
created_at Int
is_dm Boolean @default(false)
data Int
date String
interval String?
is_webhook Boolean @default(false)
}

0 comments on commit ccd2df7

Please sign in to comment.