id('cinema_id'); $table->timestamps(); $table->string('cinema_name'); $table->foreignId('address_id')->constrained('addresses', 'address_id'); $table->foreignId('user_id')->constrained('users', 'user_id'); // who created this cinema $table->timestamp('cinema_open')->nullable(); $table->timestamp('cinema_close')->nullable(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('cinemas'); } };