Skip to content

Commit

Permalink
fix: update migration down
Browse files Browse the repository at this point in the history
  • Loading branch information
JoanVicens committed Jul 5, 2023
1 parent e170104 commit 63f2a2f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions migrations/20230627120414-create-look-up-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,20 @@ module.exports = {
DROP TRIGGER insert_file_to_look_up_table_after_file_inserted ON files;
DROP FUNCTION insert_file_to_look_up_table();
DROP TRIGGER update_to_look_up_table_after_file_renamed ON files;
DROP FUNCTION update_file_to_look_up_table();
DROP TRIGGER delete_to_look_up_table_after_file_deleted ON files;
DROP FUNCTION delete_file_to_look_up_table();
DROP TRIGGER insert_folder_to_look_up_table_after_folder_inserted ON folders;
DROP FUNCTION insert_folder_to_look_up_table();
DROP TRIGGER update_to_look_up_table_after_folder_renamed ON folders;
DROP FUNCTION update_folder_to_look_up_table();
DROP TRIGGER delete_to_look_up_table_after_folder_deleted ON folders;
DROP FUNCTION delete_folder_to_look_up_table();
`);
},
};

0 comments on commit 63f2a2f

Please sign in to comment.