diff --git a/app/models/label/LabelHistory.scala b/app/models/label/LabelHistory.scala index 1e18527b4..a4ccaf794 100644 --- a/app/models/label/LabelHistory.scala +++ b/app/models/label/LabelHistory.scala @@ -10,7 +10,7 @@ import scala.slick.lifted.ForeignKeyQuery case class LabelHistory(labelHistoryId: Int, labelId: Int, severity: Option[Int], tags: List[String], editedBy: String, editTime: Timestamp, source: String, labelValidationId: Option[Int]) { - require(List("Explore", "ValidateDesktop", "ValidateDesktopNew", "ValidateMobile", "LabelMap", "GalleryImage", "GalleryExpandedImage", "GalleryThumbs", "AdminUserDashboard", "AdminLabelSearchTab").contains(source), "Invalid source for Label History table.") + require(List("Explore", "ValidateDesktop", "ValidateDesktopNew", "ValidateMobile", "LabelMap", "GalleryImage", "GalleryExpandedImage", "GalleryThumbs", "AdminUserDashboard", "AdminLabelSearchTab", "ExternalTagValidationASSETS2024").contains(source), "Invalid source for Label History table.") } class LabelHistoryTable(tag: slick.lifted.Tag) extends Table[LabelHistory](tag, "label_history") {