-- CreateEnum
CREATE TYPE "VerticalProfile" AS ENUM ('CONTABLE', 'JURIDICO', 'ARQUITECTURA');

-- CreateEnum
CREATE TYPE "DbMode" AS ENUM ('BYO', 'MANAGED');

-- AlterTable
ALTER TABLE "tenants" ADD COLUMN     "connector_last_seen" TIMESTAMP(3),
ADD COLUMN     "connector_token_enc" TEXT,
ADD COLUMN     "connector_tunnel_hostname" TEXT,
ADD COLUMN     "connector_version" VARCHAR(20),
ADD COLUMN     "db_connection_enc" TEXT,
ADD COLUMN     "db_connection_iv" TEXT,
ADD COLUMN     "db_mode" "DbMode",
ADD COLUMN     "db_schema_version" INTEGER NOT NULL DEFAULT 0,
ADD COLUMN     "vertical_profile" "VerticalProfile";
