make it work

This commit is contained in:
Charlotte 🦝 Delenk 2022-09-10 19:40:55 +01:00
parent e0e4078a94
commit 0b9e0a2ce2
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -1,6 +1,6 @@
diff --git a/lib/mix/migrator.ex b/lib/mix/migrator.ex diff --git a/lib/mix/migrator.ex b/lib/mix/migrator.ex
new file mode 100644 new file mode 100644
index 000000000..7ae9e2805 index 000000000..7ea9fbd46
--- /dev/null --- /dev/null
+++ b/lib/mix/migrator.ex +++ b/lib/mix/migrator.ex
@@ -0,0 +1,114 @@ @@ -0,0 +1,114 @@
@ -111,10 +111,10 @@ index 000000000..7ae9e2805
+ rescue + rescue
+ Ecto.ConstraintError -> + Ecto.ConstraintError ->
+ shell_info("Object already in database, skipping") + shell_info("Object already in database, skipping")
+ {nil, nil} + {:error, nil}
+ err -> + err ->
+ shell_info("Unknown error occurred, skipping") + shell_info("Unknown error occurred, skipping")
+ {:error, err} + {:error, nil}
+ end + end
+ end + end
+end +end