Skip to content

Commit

Permalink
Merge pull request #15 from bgeihsgt/fix-cloak-migrate
Browse files Browse the repository at this point in the history
Fix validation bug in cloak.migrate
  • Loading branch information
danielberkompas committed Sep 7, 2016
2 parents 955e882 + 2c0ed27 commit 58230a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mix/tasks/cloak.migrate.ex
Expand Up @@ -97,6 +97,9 @@ defmodule Mix.Tasks.Cloak.Migrate do
"""
end

defp validate!(_repo, _models) do
end

defp migrate({model, field}, repo) do
info "--- Migrating #{inspect model.__struct__} Model ---"
ids = ids_for({model, field}, repo)
Expand Down

0 comments on commit 58230a5

Please sign in to comment.