Sha256: 2a727ec92432263ecb79e1980267f3f9677cac5aaffa5242880d6a1bffa5fc8a
Contents?: true
Size: 497 Bytes
Versions: 6
Compression:
Stored size: 497 Bytes
Contents
class CreateKey < ActiveRecord::Migration<%= migration_version %> def change create_table :glueby_keys<%= table_options %> do |t| t.string :private_key t.string :public_key t.string :script_pubkey t.string :label, index: true t.integer :purpose t.belongs_to :wallet t.timestamps end add_index :glueby_keys, [:script_pubkey], unique: true add_index :glueby_keys, [:private_key], unique: true end end
Version data entries
6 entries across 6 versions & 1 rubygems