Sha256: 1a7a93d8cd19a731dd19044f262d2dc03d693dc81bbbc967d67f82285aad40ae
Contents?: true
Size: 456 Bytes
Versions: 2
Compression:
Stored size: 456 Bytes
Contents
Sequel.migration do up do $stdout.puts "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.3 | lib/bitcoin/storage/utxo/migrations/002_utxo.rb |
bitcoin-ruby-0.0.2 | lib/bitcoin/storage/utxo/migrations/002_utxo.rb |