You are right. But it is quite difficult(get a lot of time) to create these migrations by yourself. I have 30 tables, so I am looking for rake etc. to generate it.
Do you have any idea? On 9 Wrz, 14:42, Ar Chron <[EMAIL PROTECTED]> wrote: > If you want to add constraints in the DB, you can always use execute > within your migrations... > > execute "ALTER TABLE `projects` your SQL goes here, blah blah blah" > > Just execute the appropriate SQL statements in the self.up and self.down > methods. > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

