Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

more fixes for case sensitiv mysql

  • Loading branch information...
commit 897ffd6dbcba911015f1054e6fa783aec50b05a6 1 parent 379acc5
@CodingMinds CodingMinds authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 app/models/User.scala
View
4 app/models/User.scala
@@ -42,7 +42,7 @@ object User {
}
def all = DB.withConnection { implicit c =>
- SQL("select * from user").as(user *)
+ SQL("select * from User").as(user *)
}
def notNotAnonym = DB.withConnection { implicit c =>
@@ -50,7 +50,7 @@ object User {
}
def findBy(param: (String, String)):List[User] = DB.withConnection { implicit c =>
- SQL("select * from user where " + param._1 + " = {p}").on('p -> param._2).as(user *)
+ SQL("select * from User where " + param._1 + " = {p}").on('p -> param._2).as(user *)
}
def count: Long = DB.withConnection { implicit c =>
Please sign in to comment.
Something went wrong with that request. Please try again.