change seed

This commit is contained in:
phyusin
2018-06-11 14:37:04 +06:30
parent df2c7d5cf3
commit 5b8b471b30

View File

@@ -18,7 +18,7 @@ namespace :clear do
ProductCommission.delete_all
DiningFacility.update_all(status:'available')
CashierTerminal.update_all(is_currently_login: 0)
SeedGenerator.where("id > 1").update(:current => 0, :next => 0)
SeedGenerator.where("id > 1").update(:current => 0, :next => 1)
# Receipt.delete_all
# ReceiptDetail.delete_all
OrderReservation.delete_all