Commit 5cd804f5 authored by Nicolas Widart's avatar Nicolas Widart

Adding nested set data

parent bd35783a
......@@ -21,6 +21,13 @@ class CreateMenuitemsTable extends Migration
$table->integer('position')->unsigned()->default(0);
$table->string('target', 10)->nullable();
$table->string('module_name');
/* Nested Sets */
$table->integer('parent_id')->nullable();
$table->integer('lft')->nullable();
$table->integer('rgt')->nullable();
$table->integer('depth')->nullable();
$table->timestamps();
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment