Skip to content

Instantly share code, notes, and snippets.

@ybart
Forked from larste/DB Evelutions
Last active December 30, 2015 17:49
Show Gist options
  • Save ybart/7863298 to your computer and use it in GitHub Desktop.
Save ybart/7863298 to your computer and use it in GitHub Desktop.
db.default.driver=org.sqlite.JDBC
db.default.url="jdbc:sqlite:/absolute/path/to/sqlite/file.sqlite"
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
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