mirror of
https://github.com/JoseDeFreitas/awesome-youtubers.git
synced 2024-12-22 13:55:08 -05:00
Change query
This commit is contained in:
parent
d4617d9569
commit
1e24e86d02
@ -25,6 +25,7 @@ lock = threading.Lock()
|
|||||||
|
|
||||||
# Database model
|
# Database model
|
||||||
|
|
||||||
|
|
||||||
class Channel(db.Model):
|
class Channel(db.Model):
|
||||||
id = db.Column(db.Integer, primary_key=True)
|
id = db.Column(db.Integer, primary_key=True)
|
||||||
name = db.Column(db.String, unique=True, nullable=False)
|
name = db.Column(db.String, unique=True, nullable=False)
|
||||||
|
Loading…
Reference in New Issue
Block a user