Skip to content

Commit

Permalink
Merge pull request #49 from Nikhilchudasama/developer
Browse files Browse the repository at this point in the history
Update Migrations for laravel 5.8 and 6
  • Loading branch information
harimayco authored Dec 27, 2019
2 parents cf16bf8 + 714b9df commit a7dbbcc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion migrations/2017_08_11_073824_create_menus_wp_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CreateMenusWpTable extends Migration
public function up()
{
Schema::create( config('menu.table_prefix') . config('menu.table_name_menus'), function (Blueprint $table) {
$table->increments('id');
$table->bigIncrements('id');
$table->string('name');
$table->timestamps();
});
Expand Down
6 changes: 3 additions & 3 deletions migrations/2017_08_11_074006_create_menu_items_wp_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ class CreateMenuItemsWpTable extends Migration
public function up()
{
Schema::create( config('menu.table_prefix') . config('menu.table_name_items') , function (Blueprint $table) {
$table->increments('id');
$table->bigIncrements('id');
$table->string('label');
$table->string('link');
$table->integer('parent')->unsigned()->default(0);
$table->unsignedBigInteger('parent')->default(0);
$table->integer('sort')->default(0);
$table->string('class')->nullable();
$table->integer('menu')->unsigned();
$table->unsignedBigInteger('menu');
$table->integer('depth')->default(0);
$table->timestamps();

Expand Down

0 comments on commit a7dbbcc

Please sign in to comment.