mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
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:
@@ -0,0 +1,5 @@
|
||||
class AddWebsiteUrlToSecurities < ActiveRecord::Migration[7.2]
|
||||
def change
|
||||
add_column :securities, :website_url, :string
|
||||
end
|
||||
end
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user