This commit is contained in:
@@ -174,19 +174,3 @@ model HandoffToken {
|
|||||||
@@index([userId])
|
@@index([userId])
|
||||||
@@map("handoff_tokens")
|
@@map("handoff_tokens")
|
||||||
}
|
}
|
||||||
|
|
||||||
model LoginNotice {
|
|
||||||
id String @id @default(uuid()) @db.Uuid
|
|
||||||
title String
|
|
||||||
body String
|
|
||||||
linkUrl String? @map("link_url")
|
|
||||||
isActive Boolean @default(true) @map("is_active")
|
|
||||||
startsAt DateTime? @map("starts_at") @db.Timestamptz(3)
|
|
||||||
endsAt DateTime? @map("ends_at") @db.Timestamptz(3)
|
|
||||||
priority Int @default(0)
|
|
||||||
createdAt DateTime @default(now()) @map("created_at") @db.Timestamptz(3)
|
|
||||||
updatedAt DateTime @updatedAt @map("updated_at") @db.Timestamptz(3)
|
|
||||||
|
|
||||||
@@index([isActive, priority])
|
|
||||||
@@map("login_notices")
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user