Sha256: 336b2755ecc0b55b3d0a29b8702fdd087fc646edc1ce3b0f10af859f5021f4fb
Contents?: true
Size: 259 Bytes
Versions: 1
Compression:
Stored size: 259 Bytes
Contents
# Add column addr.type and correct the type for all p2sh addresses Sequel.migration do up do @log.info { "Running migration #{__FILE__}" } add_column :addr, :type, :int, default: 0, null: false add_index :addr, [:hash160, :type] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bitcoin-ruby-0.0.6 | lib/bitcoin/storage/utxo/migrations/004_add_addrs_type.rb |