better description of the problem:

DAL updates to change/add columns don't work when Postgres has data in it

If I create duplicate empty version of Postgres schema, then collumns get 
created/changed correctly

If I try on production copy of schema that has data, it doesn't take

does this description describe a problem that can be solved?

To work around the problem, I first update the columns in an empty copy of 
Postgres schema then copy the Postgres results to the production copy that 
has data in it.  E.g., ALTER TABLE public.roletype ADD COLUMN 
role_type_super_object_fk integer; 

thanks,

Alex

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to