Sha256: 3d9a745be6a108b3453e1ed6709a475ffe79a4bd0ec3059ac3f37e4971b21caa

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

class CreateEchiAgents < ActiveRecord::Migration
  def self.up
    create_table "echi_agents", :force => true do |t|
      t.column "group_id", :string
      t.column "login_id", :string
      t.column "name", :string
    end
    add_index "echi_agents", "login_id"
  end

  def self.down
    remove_index "echi_agents", "login_id"
    drop_table "echi_agents"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
echi-converter-0.3.2 db/migrate/003_create_echi_agents.rb
echi-converter-0.3.3 db/migrate/003_create_echi_agents.rb