This commit is contained in:
2021-09-16 11:53:31 +08:00
parent a934bded3c
commit 4ee8a33ea7
+1 -1
View File
@@ -425,7 +425,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess,
*/
protected function getConnection()
{
return Config::get('databases.connections.' . $this->connections, null, true);
return Config::get('databases.connections.' . $this->connection, null, true);
}