Skip to content

Commit

Permalink
migrate to renamed reports columns
Browse files Browse the repository at this point in the history
  • Loading branch information
sutigit committed Jan 23, 2025
1 parent 2068f11 commit c727a79
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
export const up = ({ context: queryInterface }) => {
return Promise.all([
queryInterface.renameColumn('reports', 'actions', 'studyprogramme_measures'),
queryInterface.renameColumn('reports', 'faculty_actions', 'faculty_measures')
])
}

export const down = ({ context: queryInterface }) => {
return Promise.all([
queryInterface.renameColumn('reports', 'studyprogramme_measures', 'actions'),
queryInterface.renameColumn('reports', 'faculty_measures', 'faculty_actions')
])
}

0 comments on commit c727a79

Please sign in to comment.