On Aug 25, 12:21 pm, Iceberg <[email protected]> wrote:
> On Aug26, 12:53am, mdipierro <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to