Sha256: 0693c268153f88caeb7efa748becd59dee79e08192755720c2a5f8bfd2525c79

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

# This migration comes from mpt_tree (originally 20150327081351)
class CreateMptTreeNodes < ActiveRecord::Migration
  def change
    create_table :mpt_tree_nodes do |t|
      t.integer :tree_id
      t.string :tree_type
      t.integer :lft
      t.integer :rgt

      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mpt_tree-0.0.7 test/dummy/db/migrate/20150327081730_create_mpt_tree_nodes.mpt_tree.rb