[odb-users] create_schema deletes db tables
    Boris Kolpackov 
    boris at codesynthesis.com
       
    Fri Jul  5 10:13:13 EDT 2013
    
    
  
Hi Lidia,
Lidia Kalinovsky <lidia at lemur-soft.com> writes:
> But sometimes ( I haven't realized when exactly ) I get "table .. not
> exist" exception if create_schema is not called.
The create_schema() function re-creates the database schema, that is,
drops and then creates all the tables necessary to store your objects.
Perhaps you are getting an exception after adding some new classes
and trying to persist them in an existing database which only has
tables for older classes?
Boris
    
    
More information about the odb-users
mailing list