From 424195880b448dbe81fa69460a7689ba884c73c9 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Sat, 6 Aug 2022 10:23:51 +0000 Subject: [PATCH] migration: local ssh port --- .../migrations/20220806102340_rde_ssh_local_port/migration.sql | 2 ++ apps/api/prisma/schema.prisma | 1 + 2 files changed, 3 insertions(+) create mode 100644 apps/api/prisma/migrations/20220806102340_rde_ssh_local_port/migration.sql diff --git a/apps/api/prisma/migrations/20220806102340_rde_ssh_local_port/migration.sql b/apps/api/prisma/migrations/20220806102340_rde_ssh_local_port/migration.sql new file mode 100644 index 000000000..ae4c39846 --- /dev/null +++ b/apps/api/prisma/migrations/20220806102340_rde_ssh_local_port/migration.sql @@ -0,0 +1,2 @@ +-- AlterTable +ALTER TABLE "DestinationDocker" ADD COLUMN "sshLocalPort" INTEGER; diff --git a/apps/api/prisma/schema.prisma b/apps/api/prisma/schema.prisma index 61ea5ca7f..7d50b63b8 100644 --- a/apps/api/prisma/schema.prisma +++ b/apps/api/prisma/schema.prisma @@ -215,6 +215,7 @@ model DestinationDocker { updatedAt DateTime @updatedAt sshKeyId String? sshKey SshKey? @relation(fields: [sshKeyId], references: [id]) + sshLocalPort Int? application Application[] database Database[] service Service[]