Skip to content

Commit

Permalink
fix: invalid migration alter stub
Browse files Browse the repository at this point in the history
  • Loading branch information
thetutlage committed Nov 27, 2023
1 parent 1e5bab3 commit 811e059
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stubs/make/migration/alter.stub
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export default class extends BaseSchema {
}

async down() {
this.schema.alterTable(this.tableName)
this.schema.alterTable(this.tableName, (table) => {
})
}
}

0 comments on commit 811e059

Please sign in to comment.