From afb3a67b7bfca6fdae9451b40627d56f2c1b4ace Mon Sep 17 00:00:00 2001 From: jakedt Date: Tue, 25 Mar 2014 16:06:34 -0400 Subject: [PATCH] Switch the data to a textfield for authorization codes. --- data/database.py | 2 +- test/data/test.db | Bin 194560 -> 194560 bytes 2 files changed, 1 insertion(+), 1 deletion(-) 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 6b803027f4d23a5830c060fe27988a355bf8b2ef..a69b3b9fbd4e166d21996bd23e461ea3433d1c61 100644 GIT binary patch delta 4623 zcmbtWdvH{BmQMfDbP@tYAVgjXBqRY7ZgSs`KqB2q`jLL6lTN2|84359kdSxM2{0;c z`Cw{R7;V>|yavY^MOK#)usT!?6408R-5Pb=nyFE6#!(rInL?J=y6Vmr+0*vAgBi=R zhJSzGIp;g)`_AdUJFn*Myqfz`e{_Sx<@7L8SaMR$EqoIdWZD94q}xZ!WWW=Vcvr~L zR4;owqD`E=KEzPr0MkzTTI+={)8q~})8WL?XoQQjx?6{a8n((@&+riGh-#usWP{28 zZ-!O6n(v~e?y+9)7JX3dCz~3aWPN0yuP-5Wtl_wTBW52TobZqMI$}Y8(^h9=KV<}i zt?c$8f0yR750Rsxkzm(&Z@9&?tt~P%F~};3Cp*@1?R0a?go_&$V#6c;1`o>(d3;Kh zI2agd8+E$2g!TJ>&CYU*eT zhQ!{%He)d4W4!HBfBT^3=NtN%>VbyV5kc{`C-OIP8%UR<#o?2qevgN%_xXG+u3$@; zZ1**{v`M0yB&n#^<&c;LDHO7Yq77ud!xw65@laBWr#aY41{2@gxSV6`p~zUf$K5)y zb-b!W>#M3#tCg_eT6N4?V{y99sG8nj;>*;Dv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