In Rails 3 ActiveRecord create_table is it possible to include the option :id => false. For example
create_table :posts, :id => false do |t|
...
end
but is it possible to remove the :id column on an existing table in a subsequent up migration?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should be able to remove the column just like any other non-id column: