Merge branch 'main' into feature/distribution-system
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
-- +goose Up
|
||||
-- +goose StatementBegin
|
||||
UPDATE system_configs
|
||||
SET value = 'PP-OCRv6', description = 'PaddleOCR 识别模型(默认 PP-OCRv6,支持 PaddleOCR-VL-1.6 等)'
|
||||
WHERE `key` = 'integration.paddle_ocr_model' AND (value = 'PaddleOCR-VL-1.6' OR value = '' OR value IS NULL);
|
||||
-- +goose StatementEnd
|
||||
|
||||
-- +goose Down
|
||||
-- +goose StatementBegin
|
||||
UPDATE system_configs
|
||||
SET value = 'PaddleOCR-VL-1.6', description = 'PaddleOCR 识别模型'
|
||||
WHERE `key` = 'integration.paddle_ocr_model' AND value = 'PP-OCRv6';
|
||||
-- +goose StatementEnd
|
||||
Reference in New Issue
Block a user