File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
internal-packages/database/prisma
migrations/20260326150000_add_workload_type_to_worker_instance_group Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ -- CreateEnum
2+ CREATE TYPE "WorkloadType " AS ENUM (' CONTAINER' , ' MICROVM' );
3+
4+ -- AlterTable
5+ ALTER TABLE " WorkerInstanceGroup" ADD COLUMN " workloadType" " WorkloadType" NOT NULL DEFAULT ' CONTAINER' ;
Original file line number Diff line number Diff line change @@ -1280,6 +1280,11 @@ enum WorkerInstanceGroupType {
12801280 UNMANAGED
12811281}
12821282
1283+ enum WorkloadType {
1284+ CONTAINER
1285+ MICROVM
1286+ }
1287+
12831288model WorkerInstanceGroup {
12841289 id String @id @default (cuid () )
12851290 type WorkerInstanceGroupType
@@ -1314,6 +1319,8 @@ model WorkerInstanceGroup {
13141319 location String ?
13151320 staticIPs String ?
13161321
1322+ workloadType WorkloadType @default (CONTAINER )
1323+
13171324 createdAt DateTime @default (now () )
13181325 updatedAt DateTime @updatedAt
13191326}
You can’t perform that action at this time.
0 commit comments