# Problem with data migration

**URL:** <https://www.ruby-forum.com/t/problem-with-data-migration/121105>\
**Category:** Rails\
**Created:** [November 23, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/problem-with-data-migration/121105 "2007-11-23T21:16:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecccb3/32.png) [@deb](https://www.ruby-forum.com/u/deb)\
**Post date:** [November 23, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/problem-with-data-migration/121105/1 "2007-11-23T21:16:23Z")

</div>

Hi all…

I am new to Ruby on Rails and need guidance in this…

I am trying to come up with an application for my major project using  
RoR.

It seems that everytime I tried migrating the database… Nothing seems  
to happend unless I create a new user for my database and change the  
database.yml to the new user login… Why is it so? Any idea?

Thank you.

-Deb-

---

<div class="post-metadata">

**Author:** ![deb](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ecccb3/32.png) [@deb](https://www.ruby-forum.com/u/deb)\
**Post date:** [November 24, 2007, 10:22am UTC](https://www.ruby-forum.com/t/problem-with-data-migration/121105/2 "2007-11-24T10:22:22Z")

</div>

On 23 Nov 2007, at 20:16, Liew Deb wrote:

> to happend unless I create a new user for my database and change the  
> database.yml to the new user login… Why is it so? Any idea?

Just off the top of my head someone here had an odd problem with  
migrations because they had an environment variable VERSION

Fred
