Add files via upload

This commit is contained in:
jasonMPM
2026-03-05 13:28:07 -06:00
committed by GitHub
parent 86578e35de
commit aa6f1b9bb2
4 changed files with 75 additions and 7 deletions

View File

@@ -8,6 +8,7 @@ class Project(db.Model):
name = db.Column(db.String(200), nullable=False)
color = db.Column(db.String(7), nullable=False, default='#C9A84C')
description = db.Column(db.Text)
drive_url = db.Column(db.String(500))
created_at = db.Column(db.DateTime, default=datetime.utcnow)
deliverables = db.relationship(
@@ -21,6 +22,7 @@ class Project(db.Model):
'name': self.name,
'color': self.color,
'description': self.description,
'drive_url': self.drive_url,
'created_at': self.created_at.isoformat() if self.created_at else None,
}
if include_deliverables: