mirror of
https://github.com/Xevion/runnerspace.git
synced 2025-12-06 21:16:21 -06:00
Develop shell command for instantiating all DB tables fast, import all models
This commit is contained in:
@@ -63,4 +63,4 @@ class Comment(db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
text = db.Column(db.Text, nullable=False)
|
||||
author = db.Column(db.Integer, db.ForeignKey('user.id'), nullable=False)
|
||||
post = db.Column(db.Integer, db.ForeignKey('post.id'), nulllable=False)
|
||||
post = db.Column(db.Integer, db.ForeignKey('post.id'), nullable=False)
|
||||
|
||||
Reference in New Issue
Block a user