Sha256: e3e40841c01d13249c4e6034f526e3a4c5ead63fe77ee6d6411e0ac567d644cb
Contents?: true
Size: 1.19 KB
Versions: 4
Compression:
Stored size: 1.19 KB
Contents
# @private class CreateAdyenNotifications < ActiveRecord::Migration def self.up create_table :adyen_notifications do |t| t.boolean :live, :null => false, :default => false t.string :event_code, :null => false t.string :psp_reference, :null => false t.string :original_reference, :null => true t.string :merchant_reference, :null => false t.string :merchant_account_code, :null => false t.datetime :event_date, :null => false t.boolean :success, :null => false, :default => false t.string :payment_method, :null => true t.string :operations, :null => true t.text :reason, :null => true t.string :currency, :null => true, :limit => 3 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' end def self.down drop_table :adyen_notifications end end
Version data entries
4 entries across 4 versions & 1 rubygems