PR 144 removed \n in SQL to also allow windows line terminators.
alter migration function to return nil if successful, :ignore or :failure when migrations are incomplete.
Add support for Thread cancellation during migrations.
Tests added for backout.
Update dependency on org.clojure/tools.logging to 0.4.1
Update dependency on org.clojure/java.jdbc to 0.7.7
Fix issue with handling directories that have spaces.
search Context classloader as fall back to system class loader for migration directory discovery
updated migratus.migrations/timestamp to use UTC
updated pending-list function to use log/debug as well as return names of the migrations as a vector.
Changedd datetime to timestamp as it's supported by more databases.
As of version 0.9.1 Migratus writes a human-readable description, and timestamp when the migration was applied. This is a breaking change, as the schema for the migration table has changed. Users upgrading from pervious versions need the following additional columns in the migrations table:
[:applied "timestamp" "" ""]
[:description "VARCHAR(1024)" "" ""]
or
ALTER TABLE migratus.schema_migrations ADD COLUMN description varchar(1024);
--;;
ALTER TABLE migratus.schema_migrations ADD COLUMN applied timestamp with time zone;
Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |