summaryrefslogtreecommitdiff
path: root/priv/repo/migrations
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-11-30 10:42:51 +0000
committerrinpatch <rinpatch@sdf.org>2019-11-30 10:42:51 +0000
commit0d24ab04c5ea779432b4ea174a1d470dac87315d (patch)
tree077ddbcab15d0c228144015fb9317d5bf46951d5 /priv/repo/migrations
parentcf0c861d0012f27ae555247834187d509d7a7114 (diff)
parent1636cc5b7e2ad324c828c993d5fb39ac9cdb40cc (diff)
downloadpleroma-0d24ab04c5ea779432b4ea174a1d470dac87315d.tar.gz
pleroma-0d24ab04c5ea779432b4ea174a1d470dac87315d.zip
Merge branch 'remove-info-from-users' into 'develop'
Removed users.info field See merge request pleroma/pleroma!2006
Diffstat (limited to 'priv/repo/migrations')
-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