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 UserInputs(BaseModel):
|
||||
hash_id = CharField(null=False)
|
||||
query = TextField(null=True)
|
||||
user_input = TextField(null=True)
|
||||
previous_user_input = ForeignKeyField('self', null=True, column_name='previous_user_input')
|
||||
|
||||
class Meta:
|
||||
db_table = 'user_inputs'
|
||||
|
||||
Reference in New Issue
Block a user