private function markVersion($direction)
{
$action = $direction === 'up' ? 'insert' : 'delete';
$this->configuration->createMigrationTable();
$this->connection->{$action}($this->configuration->getMigrationsTableName(), [$this->configuration->getMigrationsColumnName() => $this->version]);
}