id(); $table->foreignId('tournament_id')->nullable()->constrained(); $table->foreignId('user_id')->nullable()->constrained(); $table->string('command'); $table->text('parameters')->nullable()->default(null); $table->string('status')->default('hold'); $table->text('result')->nullable()->default(null); $table->timestamp('executed_at')->nullable()->default(null); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('twitch_bot_commands'); } };