diff --git a/prisma/migrations/20240904072815_remove_unnecessary/migration.sql b/prisma/migrations/20240904072815_remove_unnecessary/migration.sql new file mode 100644 index 0000000..7ded430 --- /dev/null +++ b/prisma/migrations/20240904072815_remove_unnecessary/migration.sql @@ -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";