Sha256: 106eba7685b27d3f345a1b6b3764a3bb2e7e62ea7bd6387f69294e965c556f54

Contents?: true

Size: 251 Bytes

Versions: 478

Compression:

Stored size: 251 Bytes

Contents

class AddLftAndRgtToMessage < ActiveRecord::Migration
  def self.up
    add_column :messages, :lft, :integer
    add_column :messages, :rgt, :integer
  end

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

Version data entries

478 entries across 471 versions & 22 rubygems

Version Path
enju_leaf-1.2.2 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_library-0.2.5 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_biblio-0.2.5 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_bookmark-0.2.2 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_purchase_request-0.2.1 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_inter_library_loan-0.2.0 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_message-0.2.4 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_event-0.2.3 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.2.5 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_seed-0.2.3 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_biblio-0.2.4 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_subject-0.2.3 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_library-0.2.4 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_message-0.2.3 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_event-0.2.2 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.2.4 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_nii-0.2.1 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_bookmark-0.2.1 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_subject-0.2.2 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.2.3 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb