Sha256: 7d36e392d595a19a74e9ff369b924e0bee34b039d6bdd061ff4ea1154c1d2107

Contents?: true

Size: 471 Bytes

Versions: 1

Compression:

Stored size: 471 Bytes

Contents

class CreateAgentNames < ActiveRecord::Migration[5.1]
  def change
    create_table :agent_names do |t|
      t.string :first_name
      t.string :middle_name
      t.string :last_name
      t.string :full_name, index: true
      t.references :language, index: true
      t.references :agent, index: true
      t.references :profile, index: true
      t.integer :position
      t.string :source
      t.string :name_type

      t.timestamps null: false
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
enju_seed-0.4.0.beta.1 spec/dummy/db/migrate/20160513000929_create_agent_names.rb