1 defmodule Pleroma.Repo.Migrations.CaseInsensivtivity do
5 execute("create extension if not exists citext")
7 drop_if_exists(index(:users, [:email]))
10 modify(:email, :citext)
11 modify(:nickname, :citext)
14 create_if_not_exists(index(:users, [:email]))
18 alter table(:users) do
19 modify(:email, :string)
20 modify(:nickname, :string)
23 execute("drop extension if exists citext")