Skip to content

Commit

Permalink
Drop Column in migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Müller committed Feb 16, 2024
1 parent 9b5c154 commit 6ab24a5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion db/knex_migrations/2023-10-13-1200-add-custom-html.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,8 @@ exports.up = function (knex) {
};

exports.down = function (knex) {

return knex.schema
.alterTable("status_page", function (table) {
table.dropColumn("custom_html");
});
};

0 comments on commit 6ab24a5

Please sign in to comment.