jws-backend/prisma/migrations/20240904072815_remove_unnecessary/migration.sql
2024-09-04 14:28:29 +07:00

20 lines
868 B
SQL

/*
Warnings:
- You are about to drop the column `createdAt` on the `BranchContact` table. All the data in the column will be lost.
- You are about to drop the column `createdByUserId` on the `BranchContact` table. All the data in the column will be lost.
- You are about to drop the column `updatedAt` on the `BranchContact` table. All the data in the column will be lost.
- You are about to drop the column `updatedByUserId` on the `BranchContact` table. All the data in the column will be lost.
*/
-- DropForeignKey
ALTER TABLE "BranchContact" DROP CONSTRAINT "BranchContact_createdByUserId_fkey";
-- DropForeignKey
ALTER TABLE "BranchContact" DROP CONSTRAINT "BranchContact_updatedByUserId_fkey";
-- AlterTable
ALTER TABLE "BranchContact" DROP COLUMN "createdAt",
DROP COLUMN "createdByUserId",
DROP COLUMN "updatedAt",
DROP COLUMN "updatedByUserId";