diff --git a/database/migrations/1711809658053_add_rank_to_press_articles.ts b/database/migrations/1711809658053_add_rank_to_press_articles.ts index 110c7d8..492eb32 100644 --- a/database/migrations/1711809658053_add_rank_to_press_articles.ts +++ b/database/migrations/1711809658053_add_rank_to_press_articles.ts @@ -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') + }) } }