-
-
Save ybart/7863298 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.default.driver=org.sqlite.JDBC | |
db.default.url="jdbc:sqlite:/absolute/path/to/sqlite/file.sqlite" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name := "app-name" | |
version := "1.0-SNAPSHOT" | |
libraryDependencies ++= Seq( | |
javaJdbc, | |
javaEbean, | |
cache, | |
"org.xerial" % "sqlite-jdbc" % "3.8.0-SNAPSHOT" | |
) | |
resolvers += "SQLite-JDBC Repository" at "https://oss.sonatype.org/content/repositories/snapshots" | |
play.Project.playJavaSettings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add support for db evolutions: | |
Download the sqlite-dialect from here: https://github.com/gwenn/sqlite-dialect | |
Compile it to a jar file. | |
Add the jar file the app/lib folder. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment