Closed cmfcmf closed 7 years ago
Brilliant catch! 💾
rake migrate
doesn't work at the moment due to the error 2 is out of range for ActiveRecord::Type::Integer with limit 0
. I can fix this later.
I opened an issue for the remaining tasks, #655.
Should we really run migrations on deployment? Shouldn't we rather use db:setup
in the release version? If we want to see whether it succeeds I'd rather write a test (if possible) that tries migrating with postgres.
Probably due to a Postgres update, the database now is more restrictive when it comes to changing a column's type. The Heroku deployment failed for this reason. I have already confirmed this fix to be working by manually applying it to the currently deployed version. You'll see it running over here: http://workshopportal.herokuapp.com/
Things left to do:
rake db:migrate
works afterwards)