-
Notifications
You must be signed in to change notification settings - Fork 50
Differences between 0.2 and 0.3
-
Joplin configuration is no longer located in the
project.clj
file. Instead your code in responsible for providing the Joplin configuration map. There are plenty of examples (in the example project) on how to do this. -
The joplin leiningen plugin has been removed, similar functionality can be achieved using lein aliases. See the example project for details.
-
The
reset-db
multimethod is removed. -
The
rollback-db
multimethod now takes on more required argument (a number of a string of the ID to rollback to) -
The
create-migration
multimethod now takes on more required argument (the name of the migration). -
For SQL and JDBC migrators, the name of the migration table can now be set with the
:migrations-table
key in the :db map
Joplin 0.3 depends on ragtime 0.5, which contains a number of breaking changes.
-
The main protocol that describes a datastore is now called 'DataStore' (was 'Migratable') and is located in the
ragtime.protocols
namespace. -
SQL migrations can now be provided in 2 flavours,
.edn
and.sql
files.
.sql
files now needs a markers between different SQL statements. For more details see here