Rails model update doen't work after cap migrate -


i have rails 3.2 application , have issues on production side:

i have model 'poject' , did migration add string 'description'. running rake db:migrate works fine on developer machine times. when cap deploy , cap migrate on production server cannot update project models in database. new ones work fine. i'm using postgres 9.1

i don't know what's issue here since working fine on local machine.

regards

oliver

i think looking cap deploy:migrate.

run migrate rake task. default, runs in deployed version of app... 

you can read more here: https://github.com/capistrano/capistrano/wiki/capistrano-tasks

also make sure using right environment while using capistrano


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -