thuss/standalone-migrations — pull request #62 by koenpunt (2012-10-02 11:00:13+00:00)
Title: Migration options 

I added support for the rails functionality to automagically generate the `add_column` and `remove_column` statements described here: http://guides.rubyonrails.org/migrations.html#creating-a-standalone-migration.

This PR also enables support for Rake arguments (instead on ENV variables) e.g.

_Using ENV variables:_
```bash
rake db:new_migration name=my_new_migration
```

_Using arguments:_
```bash
rake db:new_migration[my_new_migration]
```

**Or with options:**

_Using ENV variables:_
```bash
rake db:new_migration name=add_column_to_table options='column:string'
```

_Using arguments:_
```bash
rake db:new_migration[add_column_to_table,column:string]
```

Where supplying multiple column names in the arguments version, you have to seperate them with a slash (`/`). This is because how Rake works and seeing spaces as task delimiter.