create( 'logs', function (Blueprint $table) { $table->id(); $table->int('user_id', 11); $table->string('command')->length(32); $table->longtext('details'); $table->datetime('created_at'); } ); } public function down() { Schema::drop('logs'); } }