Skip to content

Commit 92d3371

Browse files
committed
Mark CountriesSeed as idempotent via isIdempotent()
1 parent 2e4b07b commit 92d3371

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

config/Seeds/CountriesSeed.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
class CountriesSeed extends BaseSeed {
1010

1111
/**
12-
* Run Method.
13-
*
14-
* Write your database seeder using this method.
15-
*
16-
* More information on writing seeds is available here:
17-
* https://book.cakephp.org/phinx/0/en/seeding.html
18-
*
12+
* @return bool
13+
*/
14+
public function isIdempotent(): bool {
15+
return true;
16+
}
17+
18+
/**
1919
* @return void
2020
*/
2121
public function run(): void {

0 commit comments

Comments
 (0)