Sha256: 59f1759ddcb3cc81c1fdc87ea549dedc313ec80d05e52ee7235d8d67f6de619f

Contents?: true

Size: 322 Bytes

Versions: 2

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true

# +ActiveRecord+ migration for Accounts
ActiveRecord::Migration.create_table :accounts do |t|
  t.string :name
  t.integer :code
end

# +ActiveRecord+ migration for Users
ActiveRecord::Migration.create_table :users do |t|
  t.string :name
  t.integer :account_id
  t.string :letter_code
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auto_increment-1.6.1 spec/support/active_record.rb
auto_increment-1.6.0 spec/support/active_record.rb