id(); $table->string('path'); $table->foreignId('user_id'); $table->foreignId('page_id')->constrained('pages')->onDelete('cascade'); $table->string('user_token'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('images'); } };