You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
376 B
17 lines
376 B
7 years ago
|
import flask_sqlalchemy
|
||
|
|
||
|
|
||
|
db = flask_sqlalchemy.SQLAlchemy()
|
||
|
|
||
|
|
||
|
class Quote(db.Model):
|
||
|
__tablename__ = 'quotes'
|
||
|
|
||
|
id = db.Column(db.Integer, primary_key=True)
|
||
|
video_id = db.Column(db.Integer)
|
||
|
date = db.Column(db.Date)
|
||
|
game = db.Column(db.String)
|
||
|
text = db.Column(db.String)
|
||
|
created_at = db.Column(db.DateTime)
|
||
|
updated_at = db.Column(db.DateTime)
|