Files
ubicloud/migrate/20250317_inference_endpoint_external.rb
Benjamin Satzger 54ef0917af Migration: Store external config and state for inference
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.
2025-03-17 12:56:32 +01:00

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