mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-02-23 15:49:50 +01:00
Renamed the repo
This commit is contained in:
18
pilot/database/models/files.py
Normal file
18
pilot/database/models/files.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from peewee import *
|
||||
|
||||
from database.models.components.base_models import BaseModel
|
||||
from database.models.development_steps import DevelopmentSteps
|
||||
from database.models.app import App
|
||||
|
||||
class File(BaseModel):
|
||||
id = AutoField()
|
||||
app = ForeignKeyField(App, on_delete='CASCADE')
|
||||
name = CharField()
|
||||
path = CharField()
|
||||
full_path = CharField()
|
||||
description = TextField(null=True)
|
||||
|
||||
class Meta:
|
||||
indexes = (
|
||||
(('app', 'name', 'path'), True),
|
||||
)
|
||||
Reference in New Issue
Block a user