Possible Duplicate:
Database Specific Migration Code
So I run MySQL locally since it's what I have installed and it makes sense to me.
But Heroku uses Postgre and it doesn't have the same field types.
I.e. I use longblob locally and it becomes bytea in my production environment. I use tinytext locally which becomes just text
How do I specify different environments inside of my migrations so I don't have to edit my migrations just for pushing to heroku? (I would like to keep them syntactically correct for my local machine)
Any other suggestions?