uuid('id')->primary()->default(DB::raw('uuid_generate_v1mc()')); $table->string('name',256)->unique(); $table->json('case')->nullable(); $table->json('to')->nullable(); $table->uuid('editor_id'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('relations'); } }