From 4f920b175bb3c90e782cb47f56898597cdc4f38a Mon Sep 17 00:00:00 2001 From: jCalamari Date: Mon, 24 Aug 2015 04:58:54 +0100 Subject: [PATCH] generated tables using deprecated 'simple' --- .../codegen/src/main/scala/demo/CustomizedCodeGenerator.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/codegen-customization/codegen/src/main/scala/demo/CustomizedCodeGenerator.scala b/examples/codegen-customization/codegen/src/main/scala/demo/CustomizedCodeGenerator.scala index 522b9a01..990f683e 100644 --- a/examples/codegen-customization/codegen/src/main/scala/demo/CustomizedCodeGenerator.scala +++ b/examples/codegen-customization/codegen/src/main/scala/demo/CustomizedCodeGenerator.scala @@ -74,7 +74,7 @@ object ${container} extends { /** Slick data model trait for extension, choice of backend or usage in the cake pattern. (Make sure to initialize this late.) */ trait ${container}${parentType.map(t => s" extends $t").getOrElse("")} { val profile: $profile - import profile.simple._ + import profile.api._ ${indent(code)} } """.trim()