Skip to content

Commit

Permalink
Added more clarification and fixed the example for the migration dire…
Browse files Browse the repository at this point in the history
…ctory.
  • Loading branch information
macourtney committed Jul 31, 2012
1 parent af43ad4 commit 06c9b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -34,12 +34,12 @@ Your migrate_config.clj file should look something like:
(ns config.migrate-config)

(defn migrate-config []
{ :directory "/test/migrations"
{ :directory "/src/migrations"
:current-version current-db-version-fn
:update-version update-db-version-fn })
```

`directory` must be a directory under src.
`directory` must be a directory included in the classpath. Most likely you want your migrations somewhere under src.

`current-db-version-fn` and `update-db-version-fn` are both functions
which you must implement to let Drift read and set the current db
Expand Down

0 comments on commit 06c9b01

Please sign in to comment.