Sha256: ad2bbf6628dfc7d7a0c2e5aec6103fbb2b08720b14d9dba53476c29150d708f6

Contents?: true

Size: 708 Bytes

Versions: 15

Compression:

Stored size: 708 Bytes

Contents

Sequel.migration do
  change do
    create_table(:addresses) do
      String :address, :size=>255, :null=>false
      
      primary_key [:address]
    end
    
    create_table(:deposits, :ignore_index_errors=>true) do
      primary_key :id
      Bignum :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) do
      String :txid, :size=>255, :null=>false
      DateTime :created_at
      TrueClass :protected, :default=>false
      
      primary_key [:txid]
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
txcatcher-0.2.6 db/schema.rb
txcatcher-0.2.4 db/schema.rb
txcatcher-0.2.3 db/schema.rb
txcatcher-0.2.2 db/schema.rb
txcatcher-0.2.1 db/schema.rb
txcatcher-0.2.0 db/schema.rb
txcatcher-0.1.100 db/schema.rb
txcatcher-0.1.99 db/schema.rb
txcatcher-0.1.98 db/schema.rb
txcatcher-0.1.97 db/schema.rb
txcatcher-0.1.96 db/schema.rb
txcatcher-0.1.95 db/schema.rb
txcatcher-0.1.94 db/schema.rb
txcatcher-0.1.93 db/schema.rb
txcatcher-0.1.92 db/schema.rb