Fixes db:migrate issue