summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20191123103423_remove_info_from_users.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-11-23 14:06:19 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-11-23 14:06:19 +0300
commit1636cc5b7e2ad324c828c993d5fb39ac9cdb40cc (patch)
tree3634f14ed84cd1d9bdd6449af2103058196e13c3 /priv/repo/migrations/20191123103423_remove_info_from_users.exs
parent75efdb0781bcaf4b685dbba0d218cb158fc3fcaf (diff)
downloadpleroma-1636cc5b7e2ad324c828c993d5fb39ac9cdb40cc.tar.gz
pleroma-1636cc5b7e2ad324c828c993d5fb39ac9cdb40cc.zip
Removed users.info and remaining usages.
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