Closed
Description
Describe the bug
According to the documentation here about Database Seeding,
"It has access to the database connection and the forge through $this->db and $this->forge, respectively"
I think $forge property never initialize on constructor, not like CodeIgniter\Database\Migration, so we can't direct access to use $this->forge
CodeIgniter 4 version
4.0.2-develop
Affected module(s)
CodeIgniter\Database\Seeder.php
Expected behavior, and steps to reproduce if appropriate
Context
- OS: Windows 7
- Web server Apache 2.4.35
- PHP version 7.2.19
Activity