seeder example

if ($this->migrations === null) {
            // Ensure that we can run migrations             $config          = new Migrations();
            $config->enabled = true;

            $this->migrations = Services::migrations($config$this->db);
            $this->migrations->setSilent(false);
        }

        if ($this->seeder === null) {
            $this->seeder = Database::seeder($this->DBGroup);
            $this->seeder->setSilent(true);
        }
    }

    // --------------------------------------------------------------------     // Migrations     // --------------------------------------------------------------------
    /** * Migrate on setUp */
    
Home | Imprint | This part of the site doesn't use cookies.