protected function makeAlterMigration(MigrationInput $input, MigrationCapsule $migration, MigrationChangeCapsule $changeCapsule)
    {
        $stub = $this->getStubContent('migration', $input->template);

        $blueprint = $this->getSchemaUpAlterBlueprint($input, $changeCapsule);
        $downBlueprint = $this->getSchemaDownAlterBlueprint($input, $changeCapsule);
        $this->replaceSchemaUp($stub, $this->getSchemaUpCreateCommand($input, $blueprint, 'table'))
            ->replaceSchemaDown($stub, $this->getSchemaUpAlterCommand($input, $downBlueprint))
            ->replaceMigationClassName($stub, $migration->className)
            ->createFile($migration->path, $stub)
            ->info('A migration was crafted successfully.');
    }