CREATE TABLE IF NOT EXISTS ai_model_capability (
    id BIGSERIAL PRIMARY KEY,
    model_version_id UUID NOT NULL,
    capability VARCHAR(255) NOT NULL,
    is_supported BOOLEAN NOT NULL DEFAULT false,
    created_at TIMESTAMPTZ NOT NULL
);

CREATE INDEX idx_ai_model_capability_model_version_id ON ai_model_capability (model_version_id);
