db->prefixTable('credits'); $personsTable = $this->db->prefixTable('persons'); $podcastPersonsTable = $this->db->prefixTable('podcasts_persons'); $episodePersonsTable = $this->db->prefixTable('episodes_persons'); $episodesTable = $this->db->prefixTable('episodes'); $createQuery = <<db->query($createQuery); } public function down(): void { $viewName = $this->db->prefixTable('credits'); $this->db->query("DROP VIEW IF EXISTS `{$viewName}`"); } }