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_message-0.0.11 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.13 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_message-0.0.10 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.12 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.11 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_message-0.0.9 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.10 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.9 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.8 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_message-0.0.7 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.7 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.6 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_message-0.0.6 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_message-0.0.5 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_message-0.0.4 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.4 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_circulation-0.0.3 spec/dummy/db/migrate/20110913115320_add_lft_and_rgt_to_message.rb
enju_message-0.0.3 db/migrate/20110913115320_add_lft_and_rgt_to_message.rb