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?
You should be able to remove the column just like any other non-id column:
remove_column :posts, :id
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With