id(); $table->json('message'); $table->enum('state', [ 'critical', 'info', 'error' ]); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('logs'); } }