refactor DB

This commit is contained in:
LeonOstrez
2023-08-02 08:29:40 +02:00
parent 9b2db0bf13
commit 9673d40f65
25 changed files with 417 additions and 310 deletions

View File

@@ -0,0 +1,12 @@
from peewee import *
from playhouse.postgres_ext import BinaryJSONField
from database.models.components.base_models import BaseModel
from database.models.app import App
class DevelopmentSteps(BaseModel):
app = ForeignKeyField(App, primary_key=True)
hash_id = CharField(unique=True, null=False)
messages = BinaryJSONField(null=True)