Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
class CreateBlockchains < ActiveRecord::Migration[4.2]
def change
create_table :blockchains do |t|
t.string :key, null: false, index: { unique: true }
t.string :name
t.string :client, null: false
t.string :server
t.integer :height, null: false
t.string :explorer_address
t.string :explorer_transaction
t.integer :min_confirmations, null: false, default: 6
t.string :status, null: false, index: true
t.timestamps null: false
end
add_column :currencies, :blockchain_key, :string, limit: 32, after: :id
end
end