So I want to set the default value of the column order equal to the id. This is pretty much for sorting purposes.
Is there anyway to do it? Or would there be a better way to achieve the same purpose?
Schema::create('posts', function (Blueprint $table) {
$table->id();
$table->string('title');
$table->bigInteger('order');
$table->string('path');
$table->text('description')->default('');
$table->timestamps();
});