summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20180221210540_make_following_postgres_array.exs
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2019-07-15 17:10:27 -0500
committerMark Felder <feld@FreeBSD.org>2019-07-15 17:10:27 -0500
commitffb4eb9779ddd28ecee84c06e8dc58f4a4daaa38 (patch)
treeb397d1192c69a7d089c86d41b6e09e89954ea798 /priv/repo/migrations/20180221210540_make_following_postgres_array.exs
parente912f81c828cc7e1d2c0dff8daed3ad52f407a61 (diff)
parent03bcb40883dafa2886110e2b625c4cc5c21106f1 (diff)
downloadpleroma-ffb4eb9779ddd28ecee84c06e8dc58f4a4daaa38.tar.gz
pleroma-ffb4eb9779ddd28ecee84c06e8dc58f4a4daaa38.zip
Merge branch 'develop' into feature/matstodon-statuses-by-name
Diffstat (limited to 'priv/repo/migrations/20180221210540_make_following_postgres_array.exs')
-rw-r--r--priv/repo/migrations/20180221210540_make_following_postgres_array.exs4
1 files changed, 3 insertions, 1 deletions
diff --git a/priv/repo/migrations/20180221210540_make_following_postgres_array.exs b/priv/repo/migrations/20180221210540_make_following_postgres_array.exs
index 98ca7d9d7..5a8f8f669 100644
--- a/priv/repo/migrations/20180221210540_make_following_postgres_array.exs
+++ b/priv/repo/migrations/20180221210540_make_following_postgres_array.exs
@@ -1,7 +1,7 @@
defmodule Pleroma.Repo.Migrations.MakeFollowingPostgresArray do
use Ecto.Migration
- def change do
+ def up do
alter table(:users) do
add :following_temp, {:array, :string}
end
@@ -15,4 +15,6 @@ defmodule Pleroma.Repo.Migrations.MakeFollowingPostgresArray do
end
rename table(:users), :following_temp, to: :following
end
+
+ def down, do: :ok
end