for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
/**
* Migration auto-generated by Sequel Pro Laravel Export (1.5.0)
* @see https://github.com/cviebrock/sequel-pro-laravel-export
*/
class CreateDatastoreCommentsTable extends Migration
{
* Run the migrations.
*
* @return void
public function up()
Schema::create('datastore_comments', function (Blueprint $table) {
$table->bigIncrements('id');
$table->bigInteger('user_id')->unsigned();
$table->bigInteger('datastore_id')->unsigned();
$table->bigInteger('parent_id')->unsigned()->nullable();
$table->text('body');
$table->timestamps();
$table->softDeletes();
});
}
* Reverse the migrations.
public function down()
Schema::dropIfExists('datastore_comments');