From c0dc419c8147c14de325e8efa27d274c4825b5f3 Mon Sep 17 00:00:00 2001 From: Thomas Arrow Date: Wed, 24 Jun 2026 21:34:22 +0100 Subject: [PATCH] Add PolicySeeder Creates a new Seeder for easily creating Policy locally. This is not automatically run with `php artisan db:seed` since I intend to follow up with separating out Seeders into those we may wish to run only in test or dev and those we may wish to run in Prod Bug: T430090 --- database/seeds/PolicySeeder.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 database/seeds/PolicySeeder.php diff --git a/database/seeds/PolicySeeder.php b/database/seeds/PolicySeeder.php new file mode 100644 index 000000000..e29bd6a1e --- /dev/null +++ b/database/seeds/PolicySeeder.php @@ -0,0 +1,19 @@ + 'terms-of-use', + 'active_from' => CarbonImmutable::createFromDate(2026, 06, 01), + 'content_vue_file' => 'terms-of-use/example.vue', + ] + ); + } +}