src/SnooPHP/Model/Migration.php
protected function saveMigration(array $tables)
	{
		try
		{
			$tables = serialize($tables);
			return Db::query("insert into migrations(host, tables) values(?, ?)", [gethostname(), $tables], $this->dbName, false);
		}
		catch (PDOException $e)
		{
			error_log($e->getMessage());
			return false;
		}
	}
protected function saveMigration(array $tables)
	{
		try
		{
			$tables = serialize($tables);
			return Db::query("insert into migrations(host, tables) values(?, ?)", [gethostname(), $tables], $this->dbName, false);
		}
		catch (PDOException $e)
		{
			error_log($e->getMessage());
			return false;
		}
	}
Save migration in database

@param Table[] $tables current tables

@return bool false if fails