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.
12 lines
326 B
Ruby
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
|