Skip to content

Commit 140da79

Browse files
committed
fix: 修复历史数据状态错误
1 parent 2084112 commit 140da79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/dataset/migrations/0011_document_status_meta_paragraph_status_meta_and_more.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
sql = """
1111
UPDATE "document"
12-
SET status ="replace"(status, '1', '3')
12+
SET status ="replace"("replace"("replace"(status, '1', '2'),'0','3'),'2','3')
1313
"""
1414

1515

0 commit comments

Comments
 (0)