Pull from master

This commit is contained in:
San Wai Lwin
2018-04-02 18:10:47 +06:30
parent c53276f21c
commit 650eb53f51
19 changed files with 351 additions and 163 deletions

View File

@@ -17,7 +17,7 @@ namespace :clear do
Survey.delete_all
DiningFacility.update_all(status:'available')
CashierTerminal.update_all(is_currently_login: 0)
SeedGenerator.where("id > 1").update(:current => 0, :next => 1)
SeedGenerator.where("id > 1").update(:current => 0, :next => 0)
puts "Clear Data Done."
end