We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a256a2 commit 00abda1Copy full SHA for 00abda1
1 file changed
user_guide_src/source/dbmgmt/seeds.rst
@@ -4,10 +4,10 @@ Database Seeding
4
5
Database seeding is a simple way to add data into your database. It is especially useful during development where
6
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,
+Seeders can contain static data that you don't want to include in a migration, like countries, or geo-coding tables,
8
event or setting information, and more.
9
10
-Database seeds are simple classes that must have a **run()** method, and extend ``CodeIgniter\Database\Seeder``.
+Database seeders are simple classes that must have a **run()** method, and extend ``CodeIgniter\Database\Seeder``.
11
Within the **run()** the class can create any form of data that it needs to. It has access to the database
12
connection and the forge through ``$this->db`` and ``$this->forge``, respectively. Seed files must be
13
stored within the **app/Database/Seeds** directory. The name of the file must match the name of the class.
0 commit comments