Sha256: fff37c3f2a4c32e2f9faee670e6bbf0a0ef96f6cd0d65afb73b30d874d645c5c
Contents?: true
Size: 284 Bytes
Versions: 10
Compression:
Stored size: 284 Bytes
Contents
class CreateTransactions < (Rails::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[4.2] : ActiveRecord::Migration) def change create_table :transactions do |t| t.integer :amount_cents t.integer :tax_cents t.string :currency t.timestamps end end end
Version data entries
10 entries across 10 versions & 1 rubygems