# Migrations & Postgres: Change column not functional?

**URL:** <https://www.ruby-forum.com/t/migrations-postgres-change-column-not-functional/57179>\
**Category:** Rails\
**Created:** [April 7, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/migrations-postgres-change-column-not-functional/57179 "2006-04-07T18:27:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Josh\_on\_Rails](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/df705f/32.png) [@Josh\_on\_Rails](https://www.ruby-forum.com/u/Josh_on_Rails)\
**Post date:** [April 7, 2006, 6:27pm UTC](https://www.ruby-forum.com/t/migrations-postgres-change-column-not-functional/57179/1 "2006-04-07T18:27:03Z")

</div>

I’ve got a MySQL app, which I’m moving to a new server which is using  
Postgres. This seems like the perfect application of migrations. (Note:  
I  
don’t mean “using migrations to switch from MySQL to Postgres” so much  
as  
“Hey, I’ve _been_ using migrations all along, and this is where I cash  
in”.)

There were some odd bugs when working with the site, and I traced it to  
two  
columns which had the “wrong” data types. Actually, they had _earlier_  
data  
types: Types that had changed in earlier migrations.

It appears that Postgres didn’t execute a number of “change\_column”  
instructions. It’s not clear to me, at this point, whether that was a  
Postgres error, or something else. Has anyone else seen this behavior?  
I’m  
also wondering if this might be version-dependent: I’ve got Postgres  
7.4.7and Rails  
1.0…
