# Migration isn't changing my database

**URL:** <https://www.ruby-forum.com/t/migration-isnt-changing-my-database/92082>\
**Category:** Rails\
**Created:** [April 15, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/migration-isnt-changing-my-database/92082 "2007-04-15T22:54:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dasch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@dasch](https://www.ruby-forum.com/u/dasch)\
**Post date:** [April 15, 2007, 10:54pm UTC](https://www.ruby-forum.com/t/migration-isnt-changing-my-database/92082/1 "2007-04-15T22:54:06Z")

</div>

This may a common problem, but I created a migration to change a table  
that already had some information in it. The rows that were already in  
the tables didn’t add the additional column. Would I need to drop all  
the information in my table and add it back, because that would be  
kind of a pain to do…

---

<div class="post-metadata">

**Author:** ![dasch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@dasch](https://www.ruby-forum.com/u/dasch)\
**Post date:** [April 16, 2007, 12:13am UTC](https://www.ruby-forum.com/t/migration-isnt-changing-my-database/92082/2 "2007-04-16T00:13:40Z")

</div>

did you by any chance copy your application and did a new migration and  
then went back to your old one? if thats the case, you may need to have  
your older application catch up.

Daniel Scrima wrote:

> This may a common problem, but I created a migration to change a table  
> that already had some information in it. The rows that were already in  
> the tables didn’t add the additional column. Would I need to drop all  
> the information in my table and add it back, because that would be  
> kind of a pain to do…

---

<div class="post-metadata">

**Author:** ![dasch](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@dasch](https://www.ruby-forum.com/u/dasch)\
**Post date:** [April 16, 2007, 4:23am UTC](https://www.ruby-forum.com/t/migration-isnt-changing-my-database/92082/3 "2007-04-16T04:23:32Z")

</div>

No I don’t believe so. v  
I had my table with some rows of data. I created a new migration that  
added an additional column to the table, but the column isn’t showing  
up when I did a “rake db:migrate”
