public function create()
{
$ts = time();
$this->model->setCreationDate($ts);
$this->model->setModificationDate($ts);
$this->db->insert("sites", ["rootId" => $this->model->getRootId()]);
$this->model->setId($this->db->lastInsertId());
$this->save();
}