On Aug 25, 12:21 pm, Iceberg <iceb...@21cn.com> wrote:
> On Aug26, 12:53am, mdipierro <mdipie...@cs.depaul.edu> wrote:
>
> > I have a radical proposal of changing the default length of string,
> > upload, password fields to 512. This will cause a migration in all
> > existing apps.
>
> What is the default length of string currently?
32 for strings, 128 for upload (that may cause truntaction of original
filename), 32 for password (should be 128 for hmac+sha512).
>
> If I modified my old apps to define an explicit length according to
> the old default length XX, like this:
> db.Field('fullname', 'string', length=XX)
> do I still need to migrate my db?
No. But by the time a user figured out that was needed it has migrated
already.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---