MigrateCommand class for multiple sites using one code base

Comparing #1 with #2

Content

[...]
public $domain = '';
protected $_db;

public function beforeAction($action,$params)
{
if (in_array(strtolower($action),array('up','down','safeup','safedown','redo','to','new','history','ma
krk')) && $this->domain == '')
{
echo 'You need to specify the domain as Xpress support multi-sites and multi-database.',"\n",'i.e: --domain=www.domain.com',"\n";
return false;
}
[...]