Quotes should not be unique, and may be a bit bigger
This commit is contained in:
parent
1d942ce56b
commit
067c399902
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ class Quote(db.Model):
|
||||||
quoter = db.Column(db.String(255), unique=False, nullable=False)
|
quoter = db.Column(db.String(255), unique=False, nullable=False)
|
||||||
quotee = db.Column(db.String(255), unique=False, nullable=True)
|
quotee = db.Column(db.String(255), unique=False, nullable=True)
|
||||||
channel = db.Column(db.String(255), unique=False, nullable=False)
|
channel = db.Column(db.String(255), unique=False, nullable=False)
|
||||||
quote = db.Column(db.String(1023), unique=True, nullable=False)
|
quote = db.Column(db.String(65535), unique=False, nullable=False)
|
||||||
created_at = db.Column(
|
created_at = db.Column(
|
||||||
db.DateTime, nullable=False,
|
db.DateTime, nullable=False,
|
||||||
default=datetime.utcnow
|
default=datetime.utcnow
|
||||||
|
|
Loading…
Reference in a new issue