Files
var-monorepo/packages/database/prisma/schema/migrations/20250622030241_penalty/migration.sql

12 lines
410 B
SQL

/*
Warnings:
- You are about to drop the column `createdAt` on the `Penalty` table. All the data in the column will be lost.
- You are about to drop the column `updatedAt` on the `Penalty` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "Penalty" DROP COLUMN "createdAt",
DROP COLUMN "updatedAt",
ADD COLUMN "timestamp" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;