Skip to content

Commit 00abda1

Browse files
committed
docs: replace seeds with seeders
For consistency.
1 parent 8a256a2 commit 00abda1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

user_guide_src/source/dbmgmt/seeds.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ Database Seeding
44

55
Database seeding is a simple way to add data into your database. It is especially useful during development where
66
you need to populate the database with sample data that you can develop against, but it is not limited to that.
7-
Seeds can contain static data that you don't want to include in a migration, like countries, or geo-coding tables,
7+
Seeders can contain static data that you don't want to include in a migration, like countries, or geo-coding tables,
88
event or setting information, and more.
99

10-
Database seeds are simple classes that must have a **run()** method, and extend ``CodeIgniter\Database\Seeder``.
10+
Database seeders are simple classes that must have a **run()** method, and extend ``CodeIgniter\Database\Seeder``.
1111
Within the **run()** the class can create any form of data that it needs to. It has access to the database
1212
connection and the forge through ``$this->db`` and ``$this->forge``, respectively. Seed files must be
1313
stored within the **app/Database/Seeds** directory. The name of the file must match the name of the class.

0 commit comments

Comments
 (0)