Sha256: b18c0c0be6329116348bb6ed9aa32107981b0053e8f28fb5f91d60933fd887ed

Contents?: true

Size: 302 Bytes

Versions: 13

Compression:

Stored size: 302 Bytes

Contents

class CreateBtrees < ActiveRecord::Migration
  def self.up
    create_table :btrees, :force=>true do |t|
      t.string  :name
      t.integer :lft
      t.integer :rgt
      t.integer :depth
      t.integer :parent_id
      t.timestamps
    end
  end

  def self.down
    drop_table :btrees
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
lolita-menu-0.4.2 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.4.1 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.4.0 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.3.6 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.3.5 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.3.4 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.3.2 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.3.1 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.3.0 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.2.2 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.2.1 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.2.0 test_orm/db/migrate/04_create_btrees.rb
lolita-menu-0.1.7 test_orm/db/migrate/04_create_btrees.rb