id('room_id'); $table->timestamps(); $table->string('room_name'); $table->integer('room_rows'); $table->integer('room_columns'); $table->foreignId('cinema_id')->constrained('cinemas', 'cinema_id'); $table->foreignId('user_id')->constrained('users', 'user_id'); // who created this room }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('rooms'); } };