diff --git a/docs/quickstart.rst b/docs/quickstart.rst index 2e21d37..aabb5f3 100644 --- a/docs/quickstart.rst +++ b/docs/quickstart.rst @@ -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):