remove index remark from sale audits

This commit is contained in:
Thein Lin Kyaw
2023-10-31 13:09:13 +06:30
parent 3441811bb0
commit c454856e88
2 changed files with 6 additions and 1 deletions

View File

@@ -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

View File

@@ -0,0 +1,5 @@
class RemoveIndexRemarkFromSaleAudits < ActiveRecord::Migration[5.1]
def change
remove_index :sale_audits, name: "remark"
end
end