id(); $table->unsignedInteger('status')->default(0); $table->foreignUuid('user_id')->constrained(); $table->string('workshop_id'); $table->foreign('workshop_id')->references('id')->on('workshops'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('tickets'); } };