Hi all.
How can I deal with multiple schema database (obviously with simplicity) ?
In the Prado's way, a simple constant valued with the name of the database table name (preceeded or not with the schema name) is the simplest way.
Something like this:
<?php /*****************************************/ class Usuario extends TActiveRecord /*****************************************/ { const TABLE = 'corporativo.tb_usuario'; schema<-----------------| | table<------------------------------| ...
And into YII AR cuture, how can we do it ?
TIA:
MN