mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-28 23:32:48 +00:00
feat: remove unique constraint on knowledge workflow version
This commit is contained in:
parent
117212a580
commit
ad869bc9c6
|
|
@ -53,7 +53,6 @@ class Migration(migrations.Migration):
|
|||
],
|
||||
options={
|
||||
'db_table': 'knowledge_workflow_version',
|
||||
'unique_together': {('knowledge',)},
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
|||
|
|
@ -167,7 +167,6 @@ class KnowledgeWorkflowVersion(AppModelMixin):
|
|||
|
||||
class Meta:
|
||||
db_table = "knowledge_workflow_version"
|
||||
unique_together = [['knowledge']] # 同一知识库的版本号唯一
|
||||
|
||||
|
||||
def get_default_status():
|
||||
|
|
|
|||
Loading…
Reference in New Issue