Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions prisma/migrations/20240128150005_updated_some_schema/migration.sql
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";