Previously Ross Vandegrift wrote:
> 
> On Wed, Apr 22, 2009 at 12:36:09AM -0700, Richard Jones wrote:
> > Is there a way to access the database directly, so that I can manually
> > re-jig the database.  Or do I have to provide an update script each
> > time i change the schema?  (and if so, how?)
> 
> I have a very low-tech solution.  I never use table reflection, all
> table layouts are explicit in my code.
> 
> If I deploy a new version that requires schema changes and forget to
> update the database schema manuall, Pylons will throw me an error on
> any hit since the model won't be able to load. :)

Unless you change a constraint or index.

Wichert.

-- 
Wichert Akkerman <wich...@wiggy.net>    It is simple to make things.
http://www.wiggy.net/                   It is hard to make things simple.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to