adding zenstack.

This commit is contained in:
killian-larcher
2024-12-17 20:24:11 +01:00
parent 4f12a2b078
commit cd99211f05
24 changed files with 33517 additions and 118 deletions
@@ -0,0 +1,45 @@
/*
Warnings:
- The required column `id` was added to the `verificationtokens` table with a prisma-level default value. This is not possible if the table is not empty. Please add this column as optional, then populate it before making it required.
*/
-- AlterTable
ALTER TABLE "accounts" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "agents" ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "backups" ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "databases" ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "organizations" ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "projects" ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "restorations" ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "sessions" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "settings" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "users_organisations" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
ADD COLUMN "updated_at" TIMESTAMP(3);
-- AlterTable
ALTER TABLE "verificationtokens" ADD COLUMN "created_at" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
ADD COLUMN "id" TEXT NOT NULL,
ADD COLUMN "updated_at" TIMESTAMP(3),
ADD CONSTRAINT "verificationtokens_pkey" PRIMARY KEY ("id");