Added connecting dev_step/user_input/command_run with the previous step in the database

This commit is contained in:
Zvonimir Sabljic
2023-08-09 08:38:21 +02:00
parent 2fe6a8d525
commit d4a888600e
8 changed files with 33 additions and 13 deletions

View File

@@ -12,6 +12,7 @@ class DevelopmentSteps(BaseModel):
hash_id = CharField(null=False)
messages = BinaryJSONField(null=True)
llm_response = BinaryJSONField(null=False)
previous_dev_step = ForeignKeyField('self', null=True, column_name='previous_dev_step')
class Meta:
db_table = 'development_steps'