how to change the itemStatus to itemTaskStatus along with the enum without deleting the existing data. i want to use the expand and contract method but i keep on getting p3006 error.
model ItemTasks {
//other value
itemStatus ItemStatus @default(unpaid)
itemTaskStatus ItemTaskStatus?
//other value
}
enum ItemStatus {
unpaid
InPo
InInv
IsPaid
}
enum ItemTaskStatus {
unpaid
InPo
InInv
IsPaid
}
model ItemTasks {
//other value
itemStatus ItemStatus @default(unpaid)
itemTaskStatus ItemTaskStatus?
//other value
}
enum ItemStatus {
unpaid
InPo
InInv
IsPaid
}
enum ItemTaskStatus {
unpaid
InPo
InInv
IsPaid
}
0 Replies
No replies yetBe the first to reply to this messageJoin