diff options
author | Stewart Stewart <stewinsalot@gmail.com> | 2017-02-27 18:19:24 -0800 |
---|---|---|
committer | Stewart Stewart <stewinsalot@gmail.com> | 2017-02-28 09:37:13 -0800 |
commit | 2fd140c28076c511400d517ebc4ce59325a16559 (patch) | |
tree | dcc98197cd2ca09391464ff082613f258eb303b3 /src/main/scala/Generators.scala | |
parent | 6e9355aefe626e28309f76f30b3c0958ea0362e6 (diff) | |
download | slick-codegen-plugin-2fd140c28076c511400d517ebc4ce59325a16559.tar.gz slick-codegen-plugin-2fd140c28076c511400d517ebc4ce59325a16559.tar.bz2 slick-codegen-plugin-2fd140c28076c511400d517ebc4ce59325a16559.zip |
generate implicit along with primary key
Diffstat (limited to 'src/main/scala/Generators.scala')
-rw-r--r-- | src/main/scala/Generators.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/scala/Generators.scala b/src/main/scala/Generators.scala index 7138a3c..9af3d88 100644 --- a/src/main/scala/Generators.scala +++ b/src/main/scala/Generators.scala @@ -20,6 +20,8 @@ class RowSourceCodeGenerator( override def Table = new TypedIdTable(_) { table => + override def PrimaryKey = new TypedIdPrimaryKey(_) { } + override def Column = new TypedIdColumn(_) { override def rawType: String = { typeReplacements.getOrElse(model.tpe, super.rawType) |