Skip to content

Commit

Permalink
Fixed migration
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkBrines committed Nov 15, 2024
1 parent 8d371f3 commit 19751a4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ export default class extends BaseSchema {
}

public async down() {
this.schema.dropTable(this.tableName)
this.schema.alterTable(this.tableName, (table) => {
table.dropColumn('rank')
})
}
}

0 comments on commit 19751a4

Please sign in to comment.