mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-02-23 15:49:50 +01:00
refactor DB
This commit is contained in:
10
euclid/database/models/app.py
Normal file
10
euclid/database/models/app.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from peewee import *
|
||||
|
||||
from database.models.components.base_models import BaseModel
|
||||
from database.models.user import User
|
||||
|
||||
|
||||
class App(BaseModel):
|
||||
user = ForeignKeyField(User, backref='apps')
|
||||
app_type = CharField()
|
||||
status = CharField(default='started')
|
||||
Reference in New Issue
Block a user