[Dbix-class] copy between databases, suggestions needed
Alan Humphrey
alan.humphrey at comcast.net
Wed Jan 11 00:28:48 CET 2006
All -
I'm using the Schema feature to access two databases. My application has a
staging database and a production database. Users will enter/edit data in
the staging database and when it's ready for public consumption it is
promoted to the production database.
My question is this: what is the best way to do the promotion? The copy
method seems geared to making a variant of an existing record in the same
table/database.
I think I'll have to create my own "promote" method. The field copy would
be straightforward, but what's the best way to handle the relationships?
Thanks!
- Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/dbix-class/attachments/20060110/d76d2aeb/attachment.htm
More information about the Dbix-class
mailing list