public void doJob() { // Check if the database is empty if (User.count() == 0) { // Initial data of the plateform Fixtures.load("initial-data.yml"); } }
public void doJob() { // Check if the database is empty if (Phrase.count() == 0) { Fixtures.load("initial-data.yml"); } }