# Regarding migrations?

**URL:** <https://www.ruby-forum.com/t/regarding-migrations/142604>\
**Category:** Ruby\
**Created:** [July 9, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/regarding-migrations/142604 "2008-07-09T17:19:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravikanth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@ravikanth](https://www.ruby-forum.com/u/ravikanth)\
**Post date:** [July 9, 2008, 5:19pm UTC](https://www.ruby-forum.com/t/regarding-migrations/142604/1 "2008-07-09T17:19:25Z")

</div>

Hi,

```
I am using "review_old" database in my rails app.i have 20 tables in

```

“review\_old” database.  
some people already written some reviews on “review\_old” database.

```
But i have changed one filed in one table.And i have created new

```

database with name “review\_new”.

how to migrate data “review\_old” to “review\_new”

please give me solution without losing one record i should create new  
database with changes.

thanks,  
Ravi.

---

<div class="post-metadata">

**Author:** ![ravikanth](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ce7236/32.png) [@ravikanth](https://www.ruby-forum.com/u/ravikanth)\
**Post date:** [July 9, 2008, 8:20pm UTC](https://www.ruby-forum.com/t/regarding-migrations/142604/2 "2008-07-09T20:20:52Z")

</div>

You will get the best answers on Rails topics here:

news://news.gmane.org:119/gmane.comp.lang.ruby.rails

Ruby is the language that supports Rails, so its forum is less well  
qualified to  
cover all the juicy Railsey details. Do not take the following answer  
as canon  
so much as me showing off. Do not post your followup question here.

Ravi K. wrote:

> database with changes.  
> Look up “Rails migrations”. You should never clone a database just to  
> add a  
> field. Oracle DBAs do that. An ActiveRecord migration will insert the  
> field  
> without affecting the existing data.
