summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20191123103423_remove_info_from_users.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-12-04 18:56:31 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-12-04 18:56:31 +0300
commit30caf3e51e32830153e693727b3765e8817171a3 (patch)
treeb752dd12604afa8be2bc7c753a64a5725bc2ebbc /priv/repo/migrations/20191123103423_remove_info_from_users.exs
parent52cc7de82cf3aa637d599edc357909be8c9366eb (diff)
parent228bf4d214abe3bb62c52128d3bc145e396b174d (diff)
downloadpleroma-30caf3e51e32830153e693727b3765e8817171a3.tar.gz
pleroma-30caf3e51e32830153e693727b3765e8817171a3.zip
Merge remote-tracking branch 'remotes/upstream/develop' into 1335-user-api-id-fields-relations
# Conflicts: # lib/pleroma/user.ex
Diffstat (limited to 'priv/repo/migrations/20191123103423_remove_info_from_users.exs')
-rw-r--r--priv/repo/migrations/20191123103423_remove_info_from_users.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/repo/migrations/20191123103423_remove_info_from_users.exs b/priv/repo/migrations/20191123103423_remove_info_from_users.exs
new file mode 100644
index 000000000..b251255ea
--- /dev/null
+++ b/priv/repo/migrations/20191123103423_remove_info_from_users.exs
@@ -0,0 +1,9 @@
+defmodule Pleroma.Repo.Migrations.RemoveInfoFromUsers do
+ use Ecto.Migration
+
+ def change do
+ alter table(:users) do
+ remove(:info, :map, default: %{})
+ end
+ end
+end