Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

codeigniter 4 db seed

<?php namespace AppDatabaseSeeds;

class TestSeeder extends CodeIgniterDatabaseSeeder
{
        public function run()
        {
                $this->call('UserSeeder');
                $this->call('CountrySeeder');
                $this->call('JobSeeder');
        }
}
Source by codeigniter4.github.io #
 
PREVIOUS NEXT
Tagged: #codeigniter #db #seed
ADD COMMENT
Topic
Name
9+9 =