aboutsummaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20200928145912_revert_citext_change.exs
diff options
context:
space:
mode:
Diffstat (limited to 'priv/repo/migrations/20200928145912_revert_citext_change.exs')
-rw-r--r--priv/repo/migrations/20200928145912_revert_citext_change.exs15
1 files changed, 15 insertions, 0 deletions
diff --git a/priv/repo/migrations/20200928145912_revert_citext_change.exs b/priv/repo/migrations/20200928145912_revert_citext_change.exs
new file mode 100644
index 0000000..98a8dc9
--- /dev/null
+++ b/priv/repo/migrations/20200928145912_revert_citext_change.exs
@@ -0,0 +1,15 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+defmodule Pleroma.Repo.Migrations.RevertCitextChange do
+ use Ecto.Migration
+
+ def change do
+ alter table(:users) do
+ modify(:uri, :text)
+ end
+
+ # create_if_not_exists(unique_index(:users, :uri))
+ end
+end