mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-04 03:02:16 +00:00
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:
@@ -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(),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user