diff --git a/db/migrate/20260105225906_remove_synthfinance_logo_urls.rb b/db/migrate/20260105225906_remove_synthfinance_logo_urls.rb new file mode 100644 index 000000000..772d1eed6 --- /dev/null +++ b/db/migrate/20260105225906_remove_synthfinance_logo_urls.rb @@ -0,0 +1,15 @@ +class RemoveSynthfinanceLogoUrls < ActiveRecord::Migration[7.2] + def up + # Remove logo URLs pointing to the old synthfinance.com domain + # These URLs are no longer valid and should be set to NULL + execute <<-SQL + UPDATE merchants + SET logo_url = NULL + WHERE logo_url LIKE '%logo.synthfinance.com%' + SQL + end + + def down + # No-op: we can't restore the old logo URLs + end +end