diff options
author | Stewart Stewart <stewinsalot@gmail.com> | 2016-11-21 17:25:33 -0500 |
---|---|---|
committer | Stewart Stewart <stewinsalot@gmail.com> | 2016-11-21 17:25:33 -0500 |
commit | 5b144625cf96ece11358ea9ee05c08ef8d1a1d74 (patch) | |
tree | fd85a4a3a928062ea17142a22bcce73dc473cf23 /src | |
parent | 1df7bc6d44a7a4c16f360c744e9db6951427b466 (diff) | |
download | slick-codegen-plugin-5b144625cf96ece11358ea9ee05c08ef8d1a1d74.tar.gz slick-codegen-plugin-5b144625cf96ece11358ea9ee05c08ef8d1a1d74.tar.bz2 slick-codegen-plugin-5b144625cf96ece11358ea9ee05c08ef8d1a1d74.zip |
use inherrited time column mapping
Diffstat (limited to 'src')
-rw-r--r-- | src/main/scala/NamespacedCodegen.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/scala/NamespacedCodegen.scala b/src/main/scala/NamespacedCodegen.scala index 3ab22dc..beed852 100644 --- a/src/main/scala/NamespacedCodegen.scala +++ b/src/main/scala/NamespacedCodegen.scala @@ -87,8 +87,6 @@ class Generator(uri: URI, pkg: String, dbModel: Model, outputPath: String, manua |object ${schemaName} extends IdColumnTypes { | override val database = xyz.driver.core.database.Database.fromConfig("${uri.getFragment()}") | import database.profile.api._ - | // TODO: the name for this implicit should be changed in driver core - | implicit val tColType = MappedColumnType.base[xyz.driver.core.time.Time, Long](time => time.millis, xyz.driver.core.time.Time(_)) | ${tableCode} | |} |