fix: error updatedAt
This commit is contained in:
parent
0c80d8fbdb
commit
10c73ae226
1 changed files with 20 additions and 0 deletions
|
|
@ -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";
|
||||||
Loading…
Add table
Add a link
Reference in a new issue