[Catalyst] multiple database model support
jagdish.eashwar at gmail.com
Tue Jul 1 01:50:35 BST 2008
I am working on two Catalyst applications and have set up different Mysql
databases for each of them. Some of the tables that these two applications
use are the same. At present, I am maintaining the common tables in both the
databases. After reading this thread, I tried putting the common tables in a
third database and creating two models in each of the Catalyst applications.
I am, however, unable to set up relationships between tables across
databases. Is this possible?
On Thu, Feb 28, 2008 at 4:57 PM, Andreas Marienborg <omega at palle.net> wrote:
> ./script/myapp_create.pl model DB1
> ./script/myapp_create.pl model DB2
> add on more options if you want to
> - andreas
> On Feb 26, 2008, at 11:41 PM, Tyler Bird wrote:
>> I just developed a catalyst application
>> and I was wondering how I could get it to support multiple databases.
>> Instead of just one per application.
>> List: Catalyst at lists.scsys.co.uk
>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>> Searchable archive:
>> Dev site: http://dev.catalyst.perl.org/
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> Dev site: http://dev.catalyst.perl.org/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Catalyst