Sha256: be63b4abc6354244a3a509b3092ab2b524721de9ef2fb43964feaa062b7d019a

Contents?: true

Size: 466 Bytes

Versions: 3

Compression:

Stored size: 466 Bytes

Contents

class CreateAgentNames < ActiveRecord::Migration
  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

3 entries across 3 versions & 1 rubygems

Version Path
enju_seed-0.3.0.beta.3 spec/dummy/db/migrate/20160513000929_create_agent_names.rb
enju_seed-0.3.0.beta.2 spec/dummy/db/migrate/20160513000929_create_agent_names.rb
enju_seed-0.3.0.beta.1 spec/dummy/db/migrate/20160513000929_create_agent_names.rb