View Rakefile
#
# 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.