package com.github.tminglei.slickpg
package trgm

import slick.jdbc.PostgresProfile

/**
  * Created by minglei on 6/21/17.
  */
trait PgTrgmSupport extends PgTrgmExtensions { driver: PostgresProfile =>
  import driver.api._

  trait PgTrgmImplicits {
    implicit def pgTrgmColumnExtensionMethods(c: Rep[String]) = new PgTrgmColumnExtensionMethods[String](c)
    implicit def pgTrgmOptionColumnExtensionMethods(c: Rep[Option[String]]) = new PgTrgmColumnExtensionMethods[Option[String]](c)
  }
}

package com.github.tminglei.slickpg
package trgm

import slick.jdbc.PostgresProfile

/**
  * Created by minglei on 6/21/17.
  */
trait PgTrgmSupport extends PgTrgmExtensions { driver: PostgresProfile =>
  import driver.api._

  trait PgTrgmImplicits {
    implicit def pgStringColumnExtensionMethods(c: Rep[String]) = new PgTrgmColumnExtensionMethods[String](c)
    implicit def pgStringOptionColumnExtensionMethods(c: Rep[Option[String]]) = new PgTrgmColumnExtensionMethods[Option[String]](c)
  }
}

--- 
+++ 
@@ -10,7 +10,7 @@
   import driver.api._
 
   trait PgTrgmImplicits {
-    implicit def pgStringColumnExtensionMethods(c: Rep[String]) = new PgTrgmColumnExtensionMethods[String](c)
-    implicit def pgStringOptionColumnExtensionMethods(c: Rep[Option[String]]) = new PgTrgmColumnExtensionMethods[Option[String]](c)
+    implicit def pgTrgmColumnExtensionMethods(c: Rep[String]) = new PgTrgmColumnExtensionMethods[String](c)
+    implicit def pgTrgmOptionColumnExtensionMethods(c: Rep[Option[String]]) = new PgTrgmColumnExtensionMethods[Option[String]](c)
   }
 }
Rename implicit defs in PgTrmImplicits to avoid collision with PgStringImplicits
