Sha256: f5d1fc67959907e60b7847ff5794cd1971b3b7c35809d5811aeeaa54359a8916

Contents?: true

Size: 236 Bytes

Versions: 5

Compression:

Stored size: 236 Bytes

Contents

class ChangeAtivos < ActiveRecord::Migration
  def self.up
    add_column :ativos, :historico_ativo_id, :integer
    add_index :ativos, :historico_ativo_id
  end

  def self.down
    remove_column :ativos, :historico_ativo_id
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bovespa_ingestion-0.3.2 db/migrate/20111223004105_change_ativos.rb
bovespa_ingestion-0.3.1 db/migrate/20111223004105_change_ativos.rb
bovespa_ingestion-0.3.0 db/migrate/20111223004105_change_ativos.rb
bovespa_ingestion-0.2.0 db/migrate/20111223004105_change_ativos.rb
bovespa_ingestion-0.1.0 db/migrate/20111223004105_change_ativos.rb