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

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