Added upgrade and downgrade scripts.
These use the migration scripts generated in the migration repo by using the script generator which was made in the last commit.