i hate it here

This commit is contained in:
Charlotte 🦝 Delenk 2022-09-10 20:33:44 +01:00
parent b6284fe8b6
commit 072eb12d92
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -1,9 +1,9 @@
diff --git a/lib/mix/migrator.ex b/lib/mix/migrator.ex
new file mode 100644
index 000000000..42c18943a
index 000000000..648b0166d
--- /dev/null
+++ b/lib/mix/migrator.ex
@@ -0,0 +1,114 @@
@@ -0,0 +1,116 @@
+defmodule Mix.Pleroma.Migrator do
+ import Mix.Pleroma
+ alias Pleroma.Activity
@ -78,6 +78,8 @@ index 000000000..42c18943a
+ rescue
+ Ecto.ConstraintError ->
+ shell_info("Activity already in database, skipping")
+ FunctionClauseError ->
+ shell_info("Unknown error occurred, skipping")
+ end
+ end
+ end