From f19921b7c1e3fe5bc11d6e7582a0dd0485310711 Mon Sep 17 00:00:00 2001 From: PJColombo Date: Thu, 13 Jun 2024 13:21:16 +0200 Subject: [PATCH] feat(db): add prisma migration field that adds a new `updated_at` field --- .../20240613112056_add_updated_at_field/migration.sql | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 packages/db/prisma/migrations/20240613112056_add_updated_at_field/migration.sql diff --git a/packages/db/prisma/migrations/20240613112056_add_updated_at_field/migration.sql b/packages/db/prisma/migrations/20240613112056_add_updated_at_field/migration.sql new file mode 100644 index 000000000..e9b6d9116 --- /dev/null +++ b/packages/db/prisma/migrations/20240613112056_add_updated_at_field/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "blob_storages_state" ADD COLUMN "updated_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;