mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-02-23 15:49:50 +01:00
Added connecting dev_step/user_input/command_run with the previous step in the database
This commit is contained in:
@@ -10,6 +10,7 @@ class CommandRuns(BaseModel):
|
||||
hash_id = CharField(null=False)
|
||||
command = TextField(null=True)
|
||||
cli_response = TextField(null=True)
|
||||
previous_command_run = ForeignKeyField('self', null=True, column_name='previous_command_run')
|
||||
|
||||
class Meta:
|
||||
db_table = 'command_runs'
|
||||
|
||||
Reference in New Issue
Block a user