diff options
Diffstat (limited to 'priv/repo/migrations')
| -rw-r--r-- | priv/repo/migrations/20191025081729_add_also_known_as_to_users.exs | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/repo/migrations/20191025081729_add_also_known_as_to_users.exs b/priv/repo/migrations/20191025081729_add_also_known_as_to_users.exs new file mode 100644 index 000000000..3d9e0a3cf --- /dev/null +++ b/priv/repo/migrations/20191025081729_add_also_known_as_to_users.exs @@ -0,0 +1,9 @@ +defmodule Pleroma.Repo.Migrations.AddAlsoKnownAsToUsers do +  use Ecto.Migration + +  def change do +    alter table(:users) do +      add(:also_known_as, {:array, :string}, default: []) +    end +  end +end  | 
