Create an ActiveRecord database table with no :id column?
yup, looks like this:
create_table :my_table, id: false do |t| t.string :key_column t.string :value_columnend
just make sure to include the
id: false
part.
yup, looks like this:
create_table :my_table, id: false do |t| t.string :key_column t.string :value_columnend
just make sure to include the
id: false
part.