lib/adyen/templates/notification_migration.rb in adyen-2.2.0 vs lib/adyen/templates/notification_migration.rb in adyen-2.3.0
- old
+ new
@@ -18,10 +18,10 @@
t.integer :value, :null => true
t.boolean :processed, :null => false, :default => false
t.timestamps
end
- add_index :adyen_notifications, [:psp_reference, :event_code, :success], :unique => true, :name => 'adyen_notification_uniqueness'
+ add_index :adyen_notifications, [:merchant_account_code, :psp_reference, :event_code, :success], :unique => true, :name => 'adyen_notification_uniqueness'
end
def self.down
drop_table :adyen_notifications
end