Skip to content

Commit

Permalink
Merge pull request #1002 from UniversityOfHelsinkiCS/trunk
Browse files Browse the repository at this point in the history
how to do migrations 101
  • Loading branch information
esakemp authored Jun 11, 2019
2 parents f9b123a + d90b19b commit d1b52ce
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
up: async (queryInterface) => {
await queryInterface.dropTable('tag')
await queryInterface.dropTable('tag_student')
},
down: async () => {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,15 @@ SortableTable.propTypes = {
data: arrayOf(shape({})).isRequired,
defaultdescending: bool,
defaultsortkey: string,
collapsingHeaders: bool.isRequired
collapsingHeaders: bool
}

SortableTable.defaultProps = {
tableProps: undefined,
getRowProps: undefined,
defaultdescending: false,
defaultsortkey: null
defaultsortkey: null,
collapsingHeaders: false
}

export default SortableTable

0 comments on commit d1b52ce

Please sign in to comment.