Updated DevelopmentSteps model

This commit is contained in:
Zvonimir Sabljic
2023-08-02 11:39:22 +02:00
parent 70617bf80b
commit 96633f2b57

View File

@@ -7,9 +7,11 @@ from database.models.app import App
class DevelopmentSteps(BaseModel):
app = ForeignKeyField(App, primary_key=True)
id = AutoField() # This will serve as the primary key
app = ForeignKeyField(App)
hash_id = CharField(unique=True, null=False)
messages = BinaryJSONField(null=True)
llm_response = BinaryJSONField(null=False)
class Meta:
db_table = 'development_steps'