# Capistrano db:load:schema \<= acting funny

**URL:** <https://www.ruby-forum.com/t/capistrano-dbschema-acting-funny/140919>\
**Category:** Rails\
**Created:** [June 19, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/capistrano-dbschema-acting-funny/140919 "2008-06-19T20:38:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nameth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/eada6e/32.png) [@nameth](https://www.ruby-forum.com/u/nameth)\
**Post date:** [June 19, 2008, 8:38pm UTC](https://www.ruby-forum.com/t/capistrano-dbschema-acting-funny/140919/1 "2008-06-19T20:38:12Z")

</div>

two servers, one for WEB, one for DB.

cap deploy:cold runs without errors, and clones the repository onto  
both servers.

then through capistrano task in deploy.rb to load schema to the db  
using cap deploy:load\_schema.

runs fine, however the schema file it uses looks like its from an old  
release or something and doesn’t load all the tables, Upon giong into  
the current release folder on both the servers the schema.rb file is  
correct on the the web server, however the older looking one appears  
on the db server. The thing that i done understand is that when i run  
cap deploy:cold it clones the repository onto each server from the  
same place so how can the the schema.rb file be different on each  
server, Also all other files are correct. Any advice would be helpful.  
Thank you.

Justin

---

<div class="post-metadata">

**Author:** ![nameth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/eada6e/32.png) [@nameth](https://www.ruby-forum.com/u/nameth)\
**Post date:** [June 19, 2008, 9:42pm UTC](https://www.ruby-forum.com/t/capistrano-dbschema-acting-funny/140919/2 "2008-06-19T21:42:00Z")

</div>

problem solved thanks your all the input 😉

-Justin
