diff --git a/database/settings/2024_11_18_184830_update_address_in_general_settings.php b/database/settings/2024_11_18_184830_update_address_in_general_settings.php new file mode 100644 index 000000000..3702d794b --- /dev/null +++ b/database/settings/2024_11_18_184830_update_address_in_general_settings.php @@ -0,0 +1,24 @@ +migrator->update( + 'general.address', + fn ($address) => array_map(fn ($value) => str_replace(' ℅ IRIS', '', $value), (array) $address) + ); + } + + public function down(): void + { + $this->migrator->update( + 'general.address', + fn ($address) => ['en' => 'The Accessibility Exchange ℅ IRIS +20-850 King Street West +Oshawa, ON, L1J 8N5'] + ); + } +};