diff --git a/data/database.py b/data/database.py index 1fce70fd4..d99f56c77 100644 --- a/data/database.py +++ b/data/database.py @@ -287,7 +287,7 @@ class OAuthAuthorizationCode(BaseModel): application = ForeignKeyField(OAuthApplication) code = CharField(index=True) scope = CharField() - data = CharField() # Context for the code, such as the user + data = TextField() # Context for the code, such as the user class OAuthAccessToken(BaseModel): diff --git a/test/data/test.db b/test/data/test.db index 6b803027f..a69b3b9fb 100644 Binary files a/test/data/test.db and b/test/data/test.db differ