Sha256: 3290a6812aed8fb2cf8bdb1a29683d97b9711d8fdf8d3d129e479aff375b4e00
Contents?: true
Size: 571 Bytes
Versions: 5
Compression:
Stored size: 571 Bytes
Contents
# frozen_string_literal: true module CoinsPaid module MigrationData module_function def get <<~RUBY create_table :coins_paid_addresses do |t| t.string :foreign_id, null: false t.string :currency, null: false t.string :convert_to, null: false t.string :address, null: false t.string :tag t.integer :external_id, null: false t.timestamps t.index [:foreign_id, :currency, :convert_to], name: :address_currencies, unique: true end RUBY end end end
Version data entries
5 entries across 5 versions & 1 rubygems