You can use plugin syntax to indicate plugin datasource to use. The name of the datasource this configuration array is for.Įxamples: Database/Mysql, Database/Sqlserver, Database/Postgres, Database/Sqlite. Setting public $useDbConfig = 'legacy' in the appropriate models.įill out the key/value pairs in the configuration array to best My application has an additional legacy database in addition to theĭefault one, I could use it in my models by creating a new $legacyĭatabase connection array similar to the $default array, and by Specified by the $useDbConfig property in a model. The $default connection array is used unless another connection is