feat: add publishMode column to port schema

- Introduced a new ENUM type "publishModeType" with values 'ingress' and 'host'.
- Added "publishMode" column to the "port" table with a default value of 'host'.
- Updated related metadata files to reflect the changes.
This commit is contained in:
Mauricio Siu
2025-07-04 23:33:21 -06:00
parent 56fcaa8ccd
commit f51c51958f
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ export const ports = pgTable("port", {
.primaryKey()
.$defaultFn(() => nanoid()),
publishedPort: integer("publishedPort").notNull(),
publishMode: publishModeType("publishMode").notNull(),
publishMode: publishModeType("publishMode").notNull().default("host"),
targetPort: integer("targetPort").notNull(),
protocol: protocolType("protocol").notNull(),