Sha256: d9ffe2b097771b0d199c31199db579f44067ab90b2f320ec67a7f7bb609cedba

Contents?: true

Size: 286 Bytes

Versions: 235

Compression:

Stored size: 286 Bytes

Contents

class AddLftAndRgtToClassification < ActiveRecord::Migration
  def self.up
    add_column :classifications, :lft, :integer
    add_column :classifications, :rgt, :integer
  end

  def self.down
    remove_column :classifications, :rgt
    remove_column :classifications, :lft
  end
end

Version data entries

235 entries across 234 versions & 14 rubygems

Version Path
enju_nii-0.2.0 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_ndl-0.2.0 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.2.0 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_biblio-0.2.0 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_biblio-0.2.0.beta.4 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_ndl-0.2.0.beta.3 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.2.0.beta.5 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_grid-0.2.0.beta.3 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_nii-0.2.0.beta.3 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_oai-0.2.0.beta.4 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_loc-0.2.0.beta.3 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_bookmark-0.2.0.beta.5 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.2.0.beta.4 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.2.0.beta.3 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_bookmark-0.2.0.beta.3 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_biblio-0.2.0.beta.3 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_loc-0.2.0.beta.2 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_oai-0.2.0.beta.2 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_nii-0.2.0.beta.2 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_ndl-0.2.0.beta.2 spec/dummy/db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb