On Oct 25, 4:33 am, Fernando Perez <[EMAIL PROTECTED]> wrote: > Migrations in Rails are independent from your DB. I have successfully > migrated a Rails app from MySQL to PostgreSQL without having to change a > single line of migration. > -- > Posted viahttp://www.ruby-forum.com/.
And what about constraint (primary and foreign keys) and things like that. I know ":string" really mean "character varying" and I need the equivalent of the "character" data type, which is not present in the Rails's data type. I hope to be wrong but another alternative would be to use the "execute" command followed by the SQL query. Is it possible to do so as mentioned in this article? http://www.robbyonrails.com/articles/2005/11/11/rails-migrations-and-postgresql-constraints. (Yeah I know it's old but it can work on my project's migrations) Later... The Neurochild --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

