-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new sql migration and more data payload for createService:
- Loading branch information
1 parent
e687cbf
commit 7be6c83
Showing
3 changed files
with
74 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
prisma/migrations/20240222073554_eight_migration/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/* | ||
Warnings: | ||
- Added the required column `amount` to the `Service` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `biddingDate` to the `Service` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `location` to the `Service` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `projectStartDate` to the `Service` table without a default value. This is not possible if the table is not empty. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "Service" ADD COLUMN "amount" INTEGER NOT NULL, | ||
ADD COLUMN "biddingDate" TIMESTAMP(3) NOT NULL, | ||
ADD COLUMN "location" TEXT NOT NULL, | ||
ADD COLUMN "projectStartDate" TIMESTAMP(3) NOT NULL; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters