Updated db models to store JSON lists instead of text

This commit is contained in:
Zvonimir Sabljic
2023-08-02 10:42:16 +02:00
parent 84346163a3
commit 31f481c702
5 changed files with 11 additions and 4 deletions

View File

@@ -1,10 +1,11 @@
from peewee import *
from database.models.components.progress_step import ProgressStep
from playhouse.postgres_ext import BinaryJSONField
class DevelopmentPlanning(ProgressStep):
architecture = TextField()
development_plan = BinaryJSONField()
class Meta:
db_table = 'development_planning'