7 lines
202 B
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
|