src/SnooPHP/Model/Migration.php
protected function lastMigration()
	{
		try
		{
			// Return last migration in temporal time
			$migration = Db::query("select * from migrations order by created_at desc limit 1", [], $this->dbName);
			return $migration[0];
		}
		catch (PDOException $e)
		{
			if ($e->getCode() === "42S02") return null;
		}

		// Something bad :(
		return false;
	}
protected function lastMigration()
	{
		try
		{
			// Return last migration in temporal time
			$migration = Db::query("select * from migrations order by created_at desc limit 1", [], $this->dbName);
			return $migration[0];
		}
		catch (PDOException $e)
		{
			if ($e->getCode() === "42S02") return null;
		}

		// Something bad :(
		return false;
	}
Return last migration if any

@return object|bool|null null or false if no migration is found