"feat: rename 'createdDate' to 'createDate' across frontend, backend, and mobile codebases"

This commit is contained in:
louiscklaw
2025-05-30 20:15:27 +08:00
parent fd20a3531b
commit 8b73b583cd
33 changed files with 1273 additions and 1425 deletions

View File

@@ -903,7 +903,7 @@ model InvoiceItem {
invoiceTo Json
sent Float
dueDate DateTime @default(now())
createdDate DateTime @default(now())
createDate DateTime @default(now())
}
// model Invoice {

View File

@@ -55,7 +55,7 @@ async function invoiceItem() {
invoiceTo: _addressBooks[index + 1],
sent: _mock.number.nativeS(index),
dueDate: new Date(fAdd({ days: index + 15, hours: index })),
createdDate: new Date(fAdd({ days: index + 15, hours: index })),
createDate: new Date(fAdd({ days: index + 15, hours: index })),
},
});
}