Skip to content

Commit 111a744

Browse files
committed
fix: tz 無しに戻す
1 parent 327388e commit 111a744

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

server/prisma/schema.prisma

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ model Project {
1818
id String @id @db.VarChar(21)
1919
name String
2020
/// 注: 日付部分のみ利用。時間は考慮しない。
21-
startDate DateTime @db.Timestamptz(3)
21+
startDate DateTime
2222
/// 注: 日付部分のみ利用。時間は考慮しない。
23-
endDate DateTime @db.Timestamptz(3)
23+
endDate DateTime
2424
/// 注: 現在は 1 つのみ設定可能
2525
allowedRanges AllowedRange[]
2626
slots Slot[]
@@ -32,18 +32,18 @@ model Project {
3232
model AllowedRange {
3333
id String @id @default(uuid())
3434
/// 注: 時間部分のみ利用。日付は考慮しない。
35-
startTime DateTime @db.Timestamptz(3)
35+
startTime DateTime
3636
/// 注: 時間部分のみ利用。日付は考慮しない。
37-
endTime DateTime @db.Timestamptz(3)
37+
endTime DateTime
3838
projectId String
3939
project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)
4040
}
4141

4242
/// あるゲストが参加可能な時間帯の 1 つ。日を跨がない。
4343
model Slot {
4444
id String @id @default(uuid())
45-
from DateTime @db.Timestamptz(3)
46-
to DateTime @db.Timestamptz(3)
45+
from DateTime
46+
to DateTime
4747
projectId String
4848
project Project @relation(fields: [projectId], references: [id], onDelete: Cascade)
4949
guestId String

0 commit comments

Comments
 (0)