[web2py] Re: error when changing field type from float to decimal

2010-08-20 Thread mdipierro
sqlite does not support dropping columns. That prevents the migration from moving the data into a dummy columns to perform the conversion. If you do not have important data in the database I suggest you delete the databases/* files. Else give me some details about the model and I can provide a scr

[web2py] Re: error when changing field type from float to decimal

2010-08-20 Thread Philip
I am using SQLite. Thanks, Philip On Aug 17, 5:54 pm, mdipierro wrote: > The problem is that web2py relies on the database to perform the data > conversion. Which database do you use? > > Massimo > > On Aug 17, 4:38 pm, Philip wrote: > > > > > I have an application that is up and running (which

[web2py] Re: error when changing field type from float to decimal

2010-08-17 Thread mdipierro
The problem is that web2py relies on the database to perform the data conversion. Which database do you use? Massimo On Aug 17, 4:38 pm, Philip wrote: > I have an application that is up and running (which is relevant > because I don't want to erase all the data already in it), in which I > want