private[jdbc] def slickProfileToSchemaType()

in core/src/main/scala/org/apache/pekko/persistence/jdbc/testkit/internal/SchemaUtilsImpl.scala [184:192]


  private[jdbc] def slickProfileToSchemaType(profile: JdbcProfile): SchemaType =
    profile match {
      case PostgresProfile  => Postgres
      case MySQLProfile     => MySQL
      case OracleProfile    => Oracle
      case SQLServerProfile => SqlServer
      case H2Profile        => H2
      case _                => throw new IllegalArgumentException(s"Invalid profile $profile encountered")
    }