public function getTables()
{
$stm = $this->connection->query('SELECT table_name FROM information_schema.tables WHERE table_schema = \'public\';');
$rows = $stm->fetchAll(PDO::FETCH_NUM);
return array_map(function ($row) {
return $row[0];
}, $rows);
}