Skip to content

Commit

Permalink
Added default value
Browse files Browse the repository at this point in the history
  • Loading branch information
balajidharma committed Aug 19, 2023
1 parent ee0cf0c commit 3dcafdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/migrations/create_menu_tables.php.stub
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class CreateMenuTables extends Migration
$table->string('description')->nullable();
$table->unsignedBigInteger('parent_id')->nullable();
$table->integer('weight')->default(0);
$table->boolean('enabled');
$table->boolean('enabled')->default(1);
$table->timestamps();
});
}
Expand Down

0 comments on commit 3dcafdc

Please sign in to comment.