Add an external_config column to the inference_endpoint table to store the configuration of external components. Add an external_state column to the inference_endpoint_replica table to track the state of external components for each replica.
14 lines
317 B
Ruby
14 lines
317 B
Ruby
# frozen_string_literal: true
|
|
|
|
Sequel.migration do
|
|
change do
|
|
alter_table(:inference_endpoint) do
|
|
add_column :external_config, :jsonb, null: false, default: "{}"
|
|
end
|
|
|
|
alter_table(:inference_endpoint_replica) do
|
|
add_column :external_state, :jsonb, null: false, default: "{}"
|
|
end
|
|
end
|
|
end
|