schema table name to migrate Laravel
Schema::create('categories', function (Blueprint $table) {
$table->id()->autoIncrement();
$table->unsignedBigInteger('user_id');
$table->string('name', 80)->nullable();
$table->string('description', 255)->nullable();
$table->tinyInteger('parent_id')->default(1);
$table->tinyInteger('level')->default(1);
$table->tinyInteger('status')->default(1);
$table->tinyInteger('is_editabled')->default(1);
$table->foreign('user_id')
->references('id')->on('users');
$table->timestamps();
});