Sha256: 38c1a8072b7c4aac63b99006f39252dc88c9403f54874254b09b3b0036c24346

Contents?: true

Size: 232 Bytes

Versions: 14

Compression:

Stored size: 232 Bytes

Contents

Sequel.migration do
  change do
    create_table(:deposits) do
      primary_key :id
      Integer     :amount, null: false
      foreign_key :transaction_id, index: true
      foreign_key :address_id, index: true
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
txcatcher-0.1.75 db/migrations/003_create_deposits.rb
txcatcher-0.1.74 db/migrations/003_create_deposits.rb
txcatcher-0.1.73 db/migrations/003_create_deposits.rb
txcatcher-0.1.72 db/migrations/003_create_deposits.rb
txcatcher-0.1.8 db/migrations/003_create_deposits.rb
txcatcher-0.1.71 db/migrations/003_create_deposits.rb
txcatcher-0.1.7 db/migrations/003_create_deposits.rb
txcatcher-0.1.6 db/migrations/003_create_deposits.rb
txcatcher-0.1.5 db/migrations/003_create_deposits.rb
txcatcher-0.1.4 db/migrations/003_create_deposits.rb
txcatcher-0.1.3 db/migrations/003_create_deposits.rb
txcatcher-0.1.2 db/migrations/003_create_deposits.rb
txcatcher-0.1.1 db/migrations/003_create_deposits.rb
txcatcher-0.1.0 db/migrations/003_create_deposits.rb