fix: error updatedAt

This commit is contained in:
Methapon Metanipat 2024-09-04 14:28:29 +07:00
parent 0c80d8fbdb
commit 10c73ae226

View file

@ -0,0 +1,20 @@
/*
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";