public function __construct($Database = null)
{
parent::__construct();
if (is_null($Database)) {
$this->Database = Gdn::database();
} else {
$this->Database = $Database;
}
$this->databasePrefix($this->Database->DatabasePrefix);
$this->setAlterTableThreshold(c('Database.AlterTableThreshold', 0));
$this->reset();
}