[Rails] Re: Migration - wrong SQL statement is created

2009-08-31 Thread Dhruva Sagar
ID is a special field in rails, the migrations generate the ID field automatically, you don't need to declare it within the migration. Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you

[Rails] Re: Migration - wrong SQL statement is created

2009-08-31 Thread Colin Law
2009/8/31 Xxx Yyy rails-mailing-l...@andreas-s.net: Hi, I am doing my first steps with RoR and I have the following problem: I execute my migration file with the following content on a MySQL-database via Rake: code class CreateUsers ActiveRecord::Migration  def self.up    

[Rails] Re: Migration - wrong SQL statement is created

2009-08-31 Thread Xxx Yyy
Thank you very much for your quick answers! -- Posted via http://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