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_subject-0.1.0.pre db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.18 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.17 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.16 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.15 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.14 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.13 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.12 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.10 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.9 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.8 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.7 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.6 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.5 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb
enju_subject-0.0.4 db/migrate/20110913120629_add_lft_and_rgt_to_classification.rb