fix: wrong field
This commit is contained in:
parent
23f52b137d
commit
c3f8673ac8
4 changed files with 15 additions and 5 deletions
|
|
@ -0,0 +1,10 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `wageDate` on the `CustomerBranch` table. All the data in the column will be lost.
|
||||
- Added the required column `wageRate` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "CustomerBranch" DROP COLUMN "wageDate",
|
||||
ADD COLUMN "wageRate" INTEGER NOT NULL;
|
||||
|
|
@ -388,7 +388,7 @@ model CustomerBranch {
|
|||
jobDescription String
|
||||
saleEmployee String
|
||||
payDate DateTime
|
||||
wageDate DateTime
|
||||
wageRate Int
|
||||
|
||||
status Status @default(CREATED)
|
||||
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ export type CustomerBranchCreate = {
|
|||
jobDescription: string;
|
||||
saleEmployee: string;
|
||||
payDate: Date;
|
||||
wageDate: Date;
|
||||
wageRate: number;
|
||||
|
||||
subDistrictId?: string | null;
|
||||
districtId?: string | null;
|
||||
|
|
@ -96,7 +96,7 @@ export type CustomerBranchUpdate = {
|
|||
jobDescription?: string;
|
||||
saleEmployee?: string;
|
||||
payDate?: Date;
|
||||
wageDate?: Date;
|
||||
wageDate?: number;
|
||||
|
||||
subDistrictId?: string | null;
|
||||
districtId?: string | null;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ export type CustomerCreate = {
|
|||
jobDescription: string;
|
||||
saleEmployee: string;
|
||||
payDate: Date;
|
||||
wageDate: Date;
|
||||
wageRate: number;
|
||||
|
||||
subDistrictId?: string | null;
|
||||
districtId?: string | null;
|
||||
|
|
@ -99,7 +99,7 @@ export type CustomerUpdate = {
|
|||
jobDescription: string;
|
||||
saleEmployee: string;
|
||||
payDate: Date;
|
||||
wageDate: Date;
|
||||
wageRate: number;
|
||||
|
||||
subDistrictId?: string | null;
|
||||
districtId?: string | null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue