public function createMigration($script, $rollbackScript)
    {
        $this->releaseChecker->checkScript($script, $rollbackScript);

        if ($this->rollbackedFirst) {
            /* When rollback is needed first we invert script & rollback script */
            list($rollbackScript, $script) = array($script, $rollbackScript);
        }

        $this->migrations[] = $this->migrationFactory->createMigration(
            $this->loader->load($script)->getQueries(),
            $this->loader->load($rollbackScript)->getQueries()
        );

        return $this;
    }