Fixed migrations to use queries and charset settings
Merge pull request #204 from rozwell/migrations

Fixed migrations to use queries and charset settings
Merge remote-tracking branch 'upstream/master'