InitialHandler has connected')) return; return super.onConsole(data); } } module.exports = Service; EOF; /** * Run the migrations. */ public function up(): void { Schema::table('services', function (Blueprint $table) { $table->text('index_file')->after('startup'); }); DB::transaction(function () { DB::table('services')->where('author', 'ptrdctyl-v040-11e6-8b77-86f30ca893d3')->where('folder', '!=', 'minecraft')->update([ 'index_file' => $this->default, ]); DB::table('services')->where('author', 'ptrdctyl-v040-11e6-8b77-86f30ca893d3')->where('folder', 'minecraft')->update([ 'index_file' => $this->default_mc, ]); }); } /** * Reverse the migrations. */ public function down(): void { Schema::table('services', function (Blueprint $table) { $table->dropColumn('index_file'); }); } };