feat: add networkIds column to multiple database tables

- Introduced a new column "networkIds" of type text[] with a default value of an empty array to the application, compose, mariadb, mongo, mysql, postgres, and redis tables.
- Updated the application and compose schemas to include the new networkIds field in their respective TypeScript definitions.
- Added corresponding entries in the migration journal and created a snapshot for version 7 to reflect these changes.
This commit is contained in:
Mauricio Siu
2026-02-22 01:53:36 -06:00
parent a0566cdbd7
commit efcad7bbf5
11 changed files with 7676 additions and 0 deletions

View File

@@ -108,6 +108,7 @@ export const compose = pgTable("compose", {
serverId: text("serverId").references(() => server.serverId, {
onDelete: "cascade",
}),
networkIds: text("networkIds").array().default([]),
});
export const composeRelations = relations(compose, ({ one, many }) => ({