diff --git a/priv/repo/migrations/20211130074130_remove_repository_slug_unique_index.exs b/priv/repo/migrations/20211130074130_remove_repository_slug_unique_index.exs
new file mode 100644
index 0000000..5e49103
--- /dev/null
+++ b/priv/repo/migrations/20211130074130_remove_repository_slug_unique_index.exs
@@ -0,0 +1,10 @@
+defmodule Kmxgit.Repo.Migrations.RemoveRepositorySlugUniqueIndex do
+ use Ecto.Migration
+
+ def up do
+ drop_if_exists index(:repositories, ["(lower(slug))"], unique: true)
+ end
+
+ def down do
+ end
+end