Forum: Ruby on Rails Capistrano/SwitchTower: DB activity for deploy task?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Wes G. (Guest)
on 2006-04-11 02:48
All,

Does anyone know if Capistrano/Switchtower actually does anything on the
database server as part of the "deploy" task?

I'm pretty sure that it doesn't, but thought I would verify.

Thanks,
Wes
Jamis B. (Guest)
on 2006-04-11 08:32
(Received via mailing list)
Wes,

It deploys the app (i.e., updates the code and the symlink), but
doesn't actually execute anything (like running new migrations). The
deploy_with_migrations task does the normal deploy, but also runs
migrations as part of it. (Not recommended for migrations that take
more than a few seconds to run, though.)

- Jamis
This topic is locked and can not be replied to.