Sha256: 387205a8735bc0925f4bfdab670f419ddc206be8e72eef0be792c5ff8b535f68
Contents?: true
Size: 457 Bytes
Versions: 2
Compression:
Stored size: 457 Bytes
Contents
Sequel.migration do up do @log.info { "Running migration #{__FILE__}" } create_table :utxo do primary_key :id column :tx_hash, String, null: false, index: true column :tx_idx, :int, null: false, index: true column :blk_id, :int, null: false, index: true column :pk_script, (@db.adapter_scheme == :postgres ? :bytea : :blob), null: false column :value, :bigint, null: false, index: true end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bitcoin-ruby-0.0.5 | lib/bitcoin/storage/utxo/migrations/002_utxo.rb |
bitcoin-ruby-0.0.4 | lib/bitcoin/storage/utxo/migrations/002_utxo.rb |