Sha256: 36c25c54a632ff87b98bc145f74f589ddee07c2d150160ce265ff4d4239116eb

Contents?: true

Size: 816 Bytes

Versions: 30

Compression:

Stored size: 816 Bytes

Contents

Sequel.migration do
  change do
    create_table(:addresses, :ignore_index_errors=>true) do
      primary_key :id
      String :address, :size=>255
      Integer :received, :default=>0
      
      index [:address]
    end
    
    create_table(:deposits, :ignore_index_errors=>true) do
      primary_key :id
      Integer :amount, :null=>false
      Integer :transaction_id
      Integer :address_id
      
      index [:address_id]
      index [:transaction_id]
    end
    
    create_table(:schema_info) do
      Integer :version, :default=>0, :null=>false
    end
    
    create_table(:transactions, :ignore_index_errors=>true) do
      primary_key :id
      String :txid, :size=>255
      String :hex, :text=>true
      Integer :amount
      Integer :block_height
      
      index [:txid]
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
txcatcher-0.1.91 db/schema.rb
txcatcher-0.1.90 db/schema.rb
txcatcher-0.1.89 db/schema.rb
txcatcher-0.1.88 db/schema.rb
txcatcher-0.1.87 db/schema.rb
txcatcher-0.1.86 db/schema.rb
txcatcher-0.1.85 db/schema.rb
txcatcher-0.1.84 db/schema.rb
txcatcher-0.1.83 db/schema.rb
txcatcher-0.1.82 db/schema.rb
txcatcher-0.1.81 db/schema.rb
txcatcher-0.1.80 db/schema.rb
txcatcher-0.1.79 db/schema.rb
txcatcher-0.1.78 db/schema.rb
txcatcher-0.1.77 db/schema.rb
txcatcher-0.1.76 db/schema.rb
txcatcher-0.1.75 db/schema.rb
txcatcher-0.1.74 db/schema.rb
txcatcher-0.1.73 db/schema.rb
txcatcher-0.1.72 db/schema.rb