Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

0008_strip_replicate_run_count.sql

4 lines326 Bytes

1-- Replicate run_count is usage telemetry, not a catalog fact (#92). Strip it
2-- from stored rows so the first poll after deploy does not diff every model.
3UPDATE `models` SET `capabilities` = json_remove(`capabilities`, '$.runCount')
4WHERE `provider_id` = 'replicate' AND json_type(`capabilities`, '$.runCount') IS NOT NULL;