Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

9 行
235B

  1. defmodule Pleroma.Repo.Migrations.AddUniqueIndexToEmailAndNickname do
  2. use Ecto.Migration
  3. def change do
  4. create_if_not_exists(unique_index(:users, [:email]))
  5. create_if_not_exists(unique_index(:users, [:nickname]))
  6. end
  7. end