mirror of
https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
synced 2025-04-19 03:24:42 -04:00
* feat: register open ai token usage during indexing * feat: register open ai token usage during search * chore: fixed open ai token usage when searching for documents
3 lines
No EOL
191 B
SQL
3 lines
No EOL
191 B
SQL
-- Add migration script here
|
|
ALTER TABLE af_workspace ADD COLUMN search_token_usage BIGINT NOT NULL DEFAULT 0;
|
|
ALTER TABLE af_workspace ADD COLUMN index_token_usage BIGINT NOT NULL DEFAULT 0; |