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:
13
euclid/database/models/project_description.py
Normal file
13
euclid/database/models/project_description.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from peewee import *
|
||||
|
||||
from playhouse.postgres_ext import BinaryJSONField
|
||||
|
||||
from database.models.components.progress_step import ProgressStep
|
||||
|
||||
|
||||
class ProjectDescription(ProgressStep):
|
||||
prompt = TextField()
|
||||
summary = TextField()
|
||||
|
||||
class Meta:
|
||||
db_table = 'project_description'
|
||||
Reference in New Issue
Block a user