change seed
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user