working on pp
This commit is contained in:
2
app.py
2
app.py
@@ -34,7 +34,7 @@ class Echo(db.Model):
|
||||
handle = db.Column(db.String(25))
|
||||
name = db.Column(db.String(1000))
|
||||
echo = db.Column(db.String(2000))
|
||||
date = db.Column(db.DateTime, default=datetime.datetime.utcnow, nullable=False)
|
||||
date = db.Column(db.DateTime, default="2023-05-23 00:39:37.030", nullable=False)
|
||||
user_id = db.Column(db.Integer, db.ForeignKey('user.id'), nullable=False)
|
||||
replies = db.relationship('Reply', backref='echo', lazy=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user