mirror of
https://github.com/r-ca/kidshift-be.git
synced 2024-10-25 16:14:02 +00:00
一部プロパティをnullableに
This commit is contained in:
parent
e3e232a4ec
commit
5d299c06d1
|
@ -0,0 +1,3 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "Task" ALTER COLUMN "iconEmoji" DROP NOT NULL,
|
||||
ALTER COLUMN "bg_color" DROP NOT NULL;
|
|
@ -35,8 +35,8 @@ model HomeGroup {
|
|||
model Task {
|
||||
id String @id @default(cuid())
|
||||
display_name String
|
||||
iconEmoji String
|
||||
bg_color String
|
||||
iconEmoji String?
|
||||
bg_color String?
|
||||
home_group_id String
|
||||
home_group HomeGroup @relation(fields: [home_group_id], references: [id])
|
||||
created_at DateTime @default(now())
|
||||
|
|
Loading…
Reference in New Issue
Block a user