Active
Project:
Schema
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2013 at 08:33 UTC
Updated:
4 Apr 2013 at 08:33 UTC
It would be good to be able to generate schema from second database. For example, I keep my product catalog in separate db:
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => 'cms7',
'username' => 'a',
'password' => 'pass',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
'products' =>
array(
'default' =>
array(
'database' => 'products',
'username' => 'b',
'password' => 'pass',
'host' => 'localhost',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
);
I would really like to be able to generate schema from products. I need separate databases for development and data migration (to much changes, to much risk), but I'd like to get them in one db on production without any additional steps like manually copying tables.
Simply put, if it may be a bit more universal, I think it should.