Newer
Older
framework / tests / _support / Database / Seeds / AnotherSeeder.php
@Lonnie Ezell Lonnie Ezell on 24 Feb 2020 294 bytes Release 4.0.0
<?php namespace Tests\Support\Database\Seeds;

class AnotherSeeder extends \CodeIgniter\Database\Seeder
{
	public function run()
	{
		$row = [
			'name'    => 'Jerome Lohan',
			'email'   => 'jlo@lohanenterprises.com',
			'country' => 'UK',
		];

		$this->db->table('user')->insert($row);
	}
}