remove index remark from sale audits
This commit is contained in:
@@ -37,7 +37,7 @@ class Foodcourt::CustomersController < BaseFoodcourtController
|
||||
@crm_customers.save
|
||||
@crm_customers = Customer.search(filter)
|
||||
else
|
||||
@crm_customers = [{"customer_id": response["status"],"message": response["message"] }]
|
||||
@crm_customers = [{"customer_id": response["status"],"message": response["message"] }]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
class RemoveIndexRemarkFromSaleAudits < ActiveRecord::Migration[5.1]
|
||||
def change
|
||||
remove_index :sale_audits, name: "remark"
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user