id(); $table->string('device_uuid')->unique(); $table->string('device_type')->index(); $table->string('ip',40)->index(); $table->timestamp('device_hijacked_at')->nullable(); $table->json('data',60)->nullable(); $table->boolean('is_rogue_device')->default(false)->index(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('devices'); } }