change migrate for sale_audits

This commit is contained in:
phyusin
2018-10-29 14:01:11 +06:30

View File

@@ -13,7 +13,7 @@ class CreateSaleAudits < ActiveRecord::Migration[5.1]
t.timestamps
end
add_index :sale_audits, :remark, remark: 'remark', type: :longtext
add_index :sale_audits, :remark, name: 'remark', type: :fulltext
add_index :sale_audits, [:sale_id, :action, :action_at]
end
end