mirror of
https://github.com/wassname/flask-security.git
synced 2026-10-03 12:20:07 +08:00
Fix #167
This commit is contained in:
1 parent
7808870fcd
commit
cfd0efb91d
1 file changed
+1
-1
+1
-1
@@ -185,7 +185,7 @@ possible using Peewee:
|
||||
db = Database(app)
|
||||
|
||||
class Role(db.Model, RoleMixin):
|
||||
name = TextField(unique=True)
|
||||
name = CharField(unique=True)
|
||||
description = TextField(null=True)
|
||||
|
||||
class User(db.Model, UserMixin):
|
||||
|
||||
Reference in new issue
Block a user