-
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
584e26e
commit 5397cea
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
prisma/migrations/20240128150005_updated_some_schema/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: | ||
- You are about to drop the column `previousWorkplaceCount` on the `User` table. All the data in the column will be lost. | ||
- You are about to drop the column `previousWorkplaceId` on the `User` table. All the data in the column will be lost. | ||
- Made the column `companyId` on table `JobVacancy` required. This step will fail if there are existing NULL values in that column. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "JobVacancy" ALTER COLUMN "companyId" SET NOT NULL; | ||
|
||
-- AlterTable | ||
ALTER TABLE "User" DROP COLUMN "previousWorkplaceCount", | ||
DROP COLUMN "previousWorkplaceId"; |