char('id', 36)->unique(); $table->string('name'); $table->text('description')->nullable(); $table->string('source'); $table->string('target'); $table->tinyInteger('read_only')->unsigned(); $table->tinyInteger('user_mountable')->unsigned(); }); Schema::create('egg_mount', function (Blueprint $table) { $table->increments('egg_id')->unique(); $table->char('mount_id', 36)->unique(); }); Schema::create('mount_node', function (Blueprint $table) { $table->increments('node_id')->unique(); $table->char('mount_id', 36)->unique(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('mount_node'); Schema::dropIfExists('egg_mount'); Schema::dropIfExists('mounts'); } }