Skip to content

Commit

Permalink
fix(migrations): select column as {name}
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Jul 16, 2017
1 parent 5f083d2 commit 7bda1b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Migrations/Mixins/Migrate.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Migrate._mapMigrationsToActions = function (migrationsList, direction) {
* @private
*/
Migrate._getMigratedFiles = function () {
return this.database.select('name').from(this.migrationsTable).orderBy('name').pluck('name')
return this.database.select('name as name').from(this.migrationsTable).orderBy('name').pluck('name')
}

/**
Expand Down

0 comments on commit 7bda1b8

Please sign in to comment.