mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-01-24 02:45:08 +01:00
Refactored saving previous steps and made steps be loaded by looking at the current step as well
This commit is contained in:
@@ -7,7 +7,7 @@ from database.models.app import App
|
||||
|
||||
|
||||
class ProgressStep(BaseModel):
|
||||
app = ForeignKeyField(App, primary_key=True)
|
||||
app = ForeignKeyField(App, primary_key=True, on_delete='CASCADE')
|
||||
step = CharField()
|
||||
data = BinaryJSONField(null=True)
|
||||
messages = BinaryJSONField(null=True)
|
||||
|
||||
Reference in New Issue
Block a user