Skip to content

Commit

Permalink
Actualy push the migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihajlo-Pavlovic committed Dec 26, 2024
1 parent 272c288 commit 1626119
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export async function up({ context: { queryInterface } }) {
await queryInterface.sequelize.query('TRUNCATE TABLE commands;');
}

export async function down() {
// No need to do anything in the down method for truncation
}

0 comments on commit 1626119

Please sign in to comment.