This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# You might need dotenv and colorize gems for this one to play nice | |
# | |
# The original work by Rodrigo Panachi: | |
# http://rpanachi.com/2016/04/11/from-rails-to-hanami-part2-sequel-migrations-model-validations-specs-fixtures | |
# | |
# For some reason I couldn't get his solution to work for the life of me, so | |
# I include the Hanami environment and used slightly more concise forms of `exec` | |
# as well as Sequel DB directly here and there. hanami/rake_tasks seems to be loading something which | |
# breaks migrations, so I advise you to keep that one commented out. Doesn't affect minitest. |