diff --git a/database/migrations/2026_07_08_080249_create_initial_terms_of_use_policy.php b/database/migrations/2026_07_08_080249_create_initial_terms_of_use_policy.php new file mode 100644 index 00000000..77f392a5 --- /dev/null +++ b/database/migrations/2026_07_08_080249_create_initial_terms_of_use_policy.php @@ -0,0 +1,36 @@ +insert([ + 'policy_type' => self::POLICY_TYPE, + 'active_from' => self::ACTIVE_FROM, + 'content_vue_file' => 'terms-of-use/version-1.vue', + 'created_at' => $now, + 'updated_at' => $now, + ]); + } + + /** + * Reverse the migrations. + */ + public function down(): void { + DB::table(self::TABLE_NAME)->where([ + 'policy_type' => self::POLICY_TYPE, + 'active_from' => self::ACTIVE_FROM, + ])->delete(); + } +};