We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6722476 commit 0e2ba1fCopy full SHA for 0e2ba1f
App/models/user.py
@@ -3,7 +3,7 @@
3
4
class User(db.Model):
5
id = db.Column(db.Integer, primary_key=True)
6
- username = db.Column(db.String, nullable=False, unique=True)
+ username = db.Column(db.String(20), nullable=False, unique=True)
7
password = db.Column(db.String(120), nullable=False)
8
9
def __init__(self, username, password):
0 commit comments