You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/db/migrate/20190401083919_change_quote...

7 lines
202 B

6 years ago
class ChangeQuotesToIntegerInAttachments < ActiveRecord::Migration[5.2]
def change
change_column :attachments, :quotes, :integer, :default => 0
add_index :attachments, :quotes
end
end