diff --git a/service/migrations/20240405000000_update_selector_field_name.sql b/service/migrations/20240405000000_update_selector_field_name.sql index 61f41a7298..391cfd5d83 100644 --- a/service/migrations/20240405000000_update_selector_field_name.sql +++ b/service/migrations/20240405000000_update_selector_field_name.sql @@ -1,6 +1,6 @@ -- +goose Up -- +goose StatementBegin -UPDATE opentdf.subject_condition_set +UPDATE subject_condition_set SET condition = jsonb_set( condition, '{0,condition_groups}', @@ -30,7 +30,7 @@ WHERE condition IS NOT NULL; -- +goose Down -- +goose StatementBegin -UPDATE opentdf.subject_condition_set +UPDATE subject_condition_set SET condition = jsonb_set( condition, '{0,condition_groups}',