# Migration problem

**URL:** <https://www.ruby-forum.com/t/migration-problem/179712>\
**Category:** Rails\
**Created:** [December 2, 2009, 1:37pm UTC](https://www.ruby-forum.com/t/migration-problem/179712 "2009-12-02T13:37:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![procedure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47774/32.png) [@procedure](https://www.ruby-forum.com/u/procedure)\
**Post date:** [December 2, 2009, 1:37pm UTC](https://www.ruby-forum.com/t/migration-problem/179712/1 "2009-12-02T13:37:08Z")

</div>

hi all

Please help solve the problem of migration

there is a project of hosting with bd and tables, I can add to her a  
column there? How?

p.s. sorry I’m badly know English language

---

<div class="post-metadata">

**Author:** ![procedure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47774/32.png) [@procedure](https://www.ruby-forum.com/u/procedure)\
**Post date:** [December 2, 2009, 3:09pm UTC](https://www.ruby-forum.com/t/migration-problem/179712/2 "2009-12-02T15:09:35Z")

</div>

Ilya Ilin wrote:

> hi all
> 
> Please help solve the problem of migration
> 
> there is a project of hosting with bd and tables, I can add to her a  
> column there? How?

What are you trying to do? You’ll have to be more specific if you want  
help n

> p.s. sorry I’m badly know English language  
> Best,  
> –Â  
> MarnenÂ Laibow-Koser  
> [http://www.marnen.org](http://www.marnen.org)  
> removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![procedure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47774/32.png) [@procedure](https://www.ruby-forum.com/u/procedure)\
**Post date:** [December 2, 2009, 5:43pm UTC](https://www.ruby-forum.com/t/migration-problem/179712/3 "2009-12-02T17:43:48Z")

</div>

Marnen Laibow-Koser wrote:

> Ilya Ilin wrote:
> 
> > hi all
> > 
> > Please help solve the problem of migration
> > 
> > there is a project of hosting with bd and tables, I can add to her a  
> > column there? How?
> 
> What are you trying to do? You’ll have to be more specific if you want  
> help n
> 
> > p.s. sorry I’m badly know English language  
> > Best,  
> > –Â  
> > MarnenÂ Laibow-Koser  
> > [http://www.marnen.org](http://www.marnen.org)  
> > removed\_email\_address@domain.invalid

Marnen, thank you for reply.

I write the necessary components (classes, models, views), and poured  
them on the hosting. But in this case need to add to an existing table,  
one column of type :string. I do not know how to do this remotely, but  
locally run project I can not.

---

<div class="post-metadata">

**Author:** ![procedure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47774/32.png) [@procedure](https://www.ruby-forum.com/u/procedure)\
**Post date:** [December 2, 2009, 5:56pm UTC](https://www.ruby-forum.com/t/migration-problem/179712/4 "2009-12-02T17:56:54Z")

</div>

Ilya Ilin wrote:  
[…]

> Marnen, thank you for reply.
> 
> I write the necessary components (classes, models, views), and poured  
> them on the hosting. But in this case need to add to an existing table,  
> one column of type :string. I do not know how to do this remotely, but  
> locally run project I can not.

So…you have a migration that you want to run on the server? You would  
do this in the same way as you’d run it locally.

If you’re using Capistrano, then cap deploy:migrate automates this. If  
you’re not using Capistrano, then start using it!

Best,  
–Â  
MarnenÂ Laibow-Koser  
[http://www.marnen.org](http://www.marnen.org)  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![procedure](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47774/32.png) [@procedure](https://www.ruby-forum.com/u/procedure)\
**Post date:** [December 2, 2009, 8:58pm UTC](https://www.ruby-forum.com/t/migration-problem/179712/5 "2009-12-02T20:58:35Z")

</div>

Marnen Laibow-Koser wrote:

> Ilya Ilin wrote:  
> […]
> 
> > Marnen, thank you for reply.
> > 
> > I write the necessary components (classes, models, views), and poured  
> > them on the hosting. But in this case need to add to an existing table,  
> > one column of type :string. I do not know how to do this remotely, but  
> > locally run project I can not.
> 
> So…you have a migration that you want to run on the server? You would  
> do this in the same way as you’d run it locally.
> 
> If you’re using Capistrano, then cap deploy:migrate automates this. If  
> you’re not using Capistrano, then start using it!
> 
> Best,  
> –Â  
> MarnenÂ Laibow-Koser  
> [http://www.marnen.org](http://www.marnen.org)  
> removed\_email\_address@domain.invalid

Marnen thank you! I figured out it is very good and useful tool. Thank  
you very much.
