[web2py] Re: Schema Changes in GAE

2011-10-07 Thread Joseph Jude
I was able to successfully added a field, filled with content and also renamed a field (add a filed, copy and then delete). If it would be of some use for others, here is how I did: Ref the below stackflow thread. Alex offers a simple solution.

[web2py] Re: Schema Changes in GAE

2011-10-07 Thread howesc
yes, i import the GAE libraries into a web2py controller and run my migrations as web2py controllers (so i can use a mix of DAL and GAE). your method below is also valid.

[web2py] Re: Schema Changes in GAE

2011-10-06 Thread howesc
adding columns is a no-op. just add them in the model and viola. keep in mind that if there is no data in the columns for existing records they will not be returned in queries that filter on those columns. to rename the column (and pretty similarly to add data to a new column): - create a

[web2py] Re: Schema Changes in GAE

2011-10-06 Thread Joseph Jude
Thank you for your reply. Is there a way to run gae specific code (with gae objects) within web2py? or should this be executed only within gae environment (may be I need to modify app.yaml too then?) Thank you in advance, Joseph