title: Unknown data type "JSONB" when running tests in play slick with H2 Database
body: <p>I have evolution problem <strong>Unknown data type: "JSONB"</strong> when running tests in playframework using  </p>
  
  <ul>
  <li>playframework v2.6.6 for scala</li>
  <li>play-slick v3.0.2</li>
  <li>play-slick-evolutions v3.0.2</li>
  <li>postgresql - 42.0.0</li>
  <li>h2database - 1.4.194</li>
  </ul>
  
  <p>My H2DbConnector looks like this:</p>
  
  <pre><code>import entities.StubData._
  import org.scalatest.{BeforeAndAfterAll, FunSuite}
  import play.api.db.DBApi
  import play.api.db.evolutions.Evolutions
  import play.api.inject.guice.GuiceApplicationBuilder
  
  trait H2DbConnector extends FunSuite with BeforeAndAfterAll {
    val appBuilder = new GuiceApplicationBuilder()
      .configure(configuration)
  
    val injector = appBuilder.injector
    lazy val databaseApi = injector.instanceOf[DBApi]
  
    override def beforeAll() = {
      Evolutions.applyEvolutions(databaseApi.database("default"))
    }
  
    override def afterAll() = {
      Evolutions.cleanupEvolutions(databaseApi.database("default"))
    }
  }
  </code></pre>
  
  <p>In application.test.conf</p>
  
  <pre><code>slick.dbs.default.driver = "slick.driver.H2Driver$"
  slick.dbs.default.db.driver = "org.h2.Driver"
  slick.dbs.default.db.url = "jdbc:h2:mem:play;MODE=PostgreSQL;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=FALSE"
  </code></pre>
  
  <p>I've got one problematic line in evolutions 2.sql file</p>
  
  <pre><code>ALTER TABLE "Messages" ADD COLUMN "metaJson" JSONB NULL;
  </code></pre>
  
  <p>When I run dao tests getting error like</p>
  
  <pre><code>2017-12-21 16:08:40,409 [error] p.a.d.e.DefaultEvolutionsApi - Unknown data type: "JSONB"; SQL statement:
  ALTER TABLE "Messages" ADD COLUMN "metaJson" JSONB NULL [50004-194] [ERROR:50004, SQLSTATE:HY004]
  [info] OptoutsDaoTest *** ABORTED ***
  [info]   play.api.db.evolutions.InconsistentDatabase: Database 'default' is in an inconsistent state![An evolution has not been applied properly. Please check the problem and resolve it manually before marking it as resolved.]
  [info]   at play.api.db.evolutions.DatabaseEvolutions.$anonfun$checkEvolutionsState$3(EvolutionsApi.scala:285)
  [info]   at play.api.db.evolutions.DatabaseEvolutions.$anonfun$checkEvolutionsState$3$adapted(EvolutionsApi.scala:270)
  [info]   at play.api.db.evolutions.DatabaseEvolutions.executeQuery(EvolutionsApi.scala:317)
  [info]   at play.api.db.evolutions.DatabaseEvolutions.checkEvolutionsState(EvolutionsApi.scala:270)
  [info]   at play.api.db.evolutions.DatabaseEvolutions.evolve(EvolutionsApi.scala:239)
  [info]   at play.api.db.evolutions.Evolutions$.applyEvolutions(Evolutions.scala:193)
  [info]   at H2DbConnector.beforeAll(H2DbConnector.scala:15)
  [info]   at H2DbConnector.beforeAll$(H2DbConnector.scala:14)
  [info]   at OptoutsDaoTest.beforeAll(OptoutsDaoTest.scala:5)
  [info]   at org.scalatest.BeforeAndAfterAll.liftedTree1$1(BeforeAndAfterAll.scala:212)
  [info]   ...
  </code></pre>
  
  <p>Could you help me please to fix this issue?</p>