Sha256: 7ca32146a7154b1c236729ef535cea6c206e6787e71b2cc5eb15c83722c8312b

Contents?: true

Size: 192 Bytes

Versions: 12

Compression:

Stored size: 192 Bytes

Contents

class AddMissingSinceToItem < ActiveRecord::Migration
  def self.up
    add_column :items, :missing_since, :timestamp
  end

  def self.down
    remove_column :items, :missing_since
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
enju_oai-0.1.0.pre10 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.1.0.pre9 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.1.0.pre8 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.1.0.pre7 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.1.0.pre6 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.1.0.pre5 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.1.0.pre4 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.1.0.pre3 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.1.0.pre2 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.1.0.pre spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.0.4 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb
enju_oai-0.0.3 spec/dummy/db/migrate/20110927135845_add_missing_since_to_item.rb