protected function up($className)
    {
        if ($fileName = $this->migrated($className)) {
            $migration = new $className;
            $migration->up();
            $migration->execute();

            $this->connection->insert("schema_migrations", [
                'version' => $fileName,
                'date'    => date("Y-m-d")
            ]);
        }
    }