Exemplo n.º 1
0
 public void doJob() {
   // Check if the database is empty
   if (Account.count() == 0) {
     Fixtures.deleteDatabase();
     Fixtures.loadModels("data.yml");
   }
 }