Files
ubicloud/migrate/20250519_inference_router_target_automation.rb
Benjamin Satzger 8fe0ec35ec Migration: Automated management inference_router_target
This migration introduces three new columns to the
inference_router_target table to support automated management
of inference targets:
* type: Indicates the type of target. Supported values currently include
"manual" and "runpod".
* config: Stores the configuration used to provision the external target
resource.
* state: Represents the current state of the external target resource.
2025-05-23 09:28:10 +02:00

12 lines
326 B
Ruby

# frozen_string_literal: true
Sequel.migration do
change do
alter_table(:inference_router_target) do
add_column :type, String, collate: '"C"', null: false, default: "manual"
add_column :config, :jsonb, null: false, default: "{}"
add_column :state, :jsonb, null: false, default: "{}"
end
end
end