mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-07 18:06:52 +08:00
Feature/add is deleted to conversations (#470)
This commit is contained in:
@@ -206,6 +206,8 @@ class Conversation(db.Model):
|
||||
messages = db.relationship("Message", backref="conversation", lazy='select', passive_deletes="all")
|
||||
message_annotations = db.relationship("MessageAnnotation", backref="conversation", lazy='select', passive_deletes="all")
|
||||
|
||||
is_deleted = db.Column(db.Boolean, nullable=False, server_default=db.text('false'))
|
||||
|
||||
@property
|
||||
def model_config(self):
|
||||
model_config = {}
|
||||
|
||||
Reference in New Issue
Block a user