Do you happen to have DAL(..., migrate_enabled=False)? Is your app compiled?

On Tuesday, November 19, 2013 7:57:39 AM UTC-5, R. Osinga wrote:
>
> Hi all,
>
> I have a series of tables declared, but one table does not get created 
> automatically. This table is new, in the current version of my software and 
> I expect it to be created automatically.
> Unfotunatelly, it does not. I checked that *settings.migrate=True* and 
> even replaced the *migrate=settings.migrate* with *migrate=True*. When I 
> open any page that was running in the older version of my software, it runs 
> fine. But when I open one of the new pages - one that needs the new table, 
> I get the following exception:
> <class 'gluon.contrib.pg8000.errors.ProgrammingError'> ('ERROR', '42P01', 
> 'relation "t_asset_match" does not exist')
> This is because it tries to do a select from the database.
> I used psql, and don't see the table either. Which corresponds to the 
> exception. But how can it be, that it does not get? Since I had to find a 
> solution fast, I created the table by hand using SQL
>
> Does anyone have a clue what might have happened (or not happened)?
>
> Roald
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to