Merchants improvements (#594)

* FIX logos

* Implement merchant mods

* FIX confirm issue

* FIX linter

* Add recently seen merchants to re-add if needed

* Update merge.html.erb

* FIX do security check

* Add error handling for update failures.
This commit is contained in:
soky srm
2026-01-09 19:38:04 +01:00
committed by GitHub
parent 140ea78b0e
commit 76dc91377c
25 changed files with 431 additions and 36 deletions

View File

@@ -0,0 +1,5 @@
class AddWebsiteUrlToSecurities < ActiveRecord::Migration[7.2]
def change
add_column :securities, :website_url, :string
end
end

View File

@@ -0,0 +1,13 @@
class CreateFamilyMerchantAssociations < ActiveRecord::Migration[7.2]
def change
create_table :family_merchant_associations, id: :uuid do |t|
t.references :family, null: false, foreign_key: true, type: :uuid
t.references :merchant, null: false, foreign_key: true, type: :uuid
t.datetime :unlinked_at
t.timestamps
end
add_index :family_merchant_associations, [ :family_id, :merchant_id ], unique: true
end
end