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

@@ -0,0 +1,7 @@
ALTER TABLE "application" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
ALTER TABLE "compose" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
ALTER TABLE "mariadb" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
ALTER TABLE "mongo" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
ALTER TABLE "mysql" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
ALTER TABLE "postgres" ADD COLUMN "networkIds" text[] DEFAULT '{}';--> statement-breakpoint
ALTER TABLE "redis" ADD COLUMN "networkIds" text[] DEFAULT '{}';

File diff suppressed because it is too large Load Diff

View File

@@ -1030,6 +1030,13 @@
"when": 1771621786767,
"tag": "0146_stormy_ender_wiggin",
"breakpoints": true
},
{
"idx": 147,
"version": "7",
"when": 1771746731110,
"tag": "0147_nasty_scarecrow",
"breakpoints": true
}
]
}