Doesn't exactly answer my question. For example, say in web2py you
define table with fields a, b, c. In old db you have fields a, b and
d. Will you be able to load blank web2py table with old db data for a
and b just by importing the old db csv file into the new db? Or will
importer choke?



On Sep 19, 7:15 pm, Massimo Di Pierro <[email protected]>
wrote:
> They do not have to match exactly, it is sufficient all data present
> can be parsed by the existing fields types. For example a date can be
> loaded into a string or an int can be loaded into a string or a
> double.
>
> On Sep 19, 11:55 am, weheh <[email protected]> wrote:
>
>
>
>
>
>
>
> > I haven't had time to try this but, does anyone already know whether
> > csv import will work if only some of the fields match the importing
> > table and others do not? It would be useful to degrade gracefully like
> > this if new tables don't exactly match old tables.

Reply via email to