-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca90e79
commit 20dcd65
Showing
7 changed files
with
233 additions
and
78 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
24 changes: 24 additions & 0 deletions
24
prisma/migrations/20231025090717_initial_migrations/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,24 @@ | ||
/* | ||
Warnings: | ||
- You are about to alter the column `date_cleaning` on the `cleaning` table. The data in that column could be lost. The data in that column will be cast from `DateTime(0)` to `DateTime`. | ||
- You are about to alter the column `date_naik` on the `drum` table. The data in that column could be lost. The data in that column will be cast from `DateTime(0)` to `DateTime`. | ||
- You are about to alter the column `date_turun` on the `drum` table. The data in that column could be lost. The data in that column will be cast from `DateTime(0)` to `DateTime`. | ||
- You are about to alter the column `date` on the `history` table. The data in that column could be lost. The data in that column will be cast from `DateTime(0)` to `DateTime`. | ||
- You are about to alter the column `request_date` on the `request` table. The data in that column could be lost. The data in that column will be cast from `DateTime(0)` to `DateTime`. | ||
- You are about to alter the column `complete_date` on the `request` table. The data in that column could be lost. The data in that column will be cast from `DateTime(0)` to `DateTime`. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE `cleaning` MODIFY `date_cleaning` DATETIME NOT NULL; | ||
|
||
-- AlterTable | ||
ALTER TABLE `drum` MODIFY `date_naik` DATETIME NULL, | ||
MODIFY `date_turun` DATETIME NULL; | ||
|
||
-- AlterTable | ||
ALTER TABLE `history` MODIFY `date` DATETIME NOT NULL; | ||
|
||
-- AlterTable | ||
ALTER TABLE `request` MODIFY `request_date` DATETIME NOT NULL, | ||
MODIFY `complete_date` DATETIME NULL; |