summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20180221210540_make_following_postgres_array.exs
diff options
context:
space:
mode:
authorIvan Tashkinov <ivant.business@gmail.com>2019-07-06 10:17:06 +0300
committerIvan Tashkinov <ivant.business@gmail.com>2019-07-06 10:17:06 +0300
commitad8d86e7c600bca65e5f0bb407651d33f1e53043 (patch)
tree75c395c888a10bad571769eaf828d989c2a5b2c4 /priv/repo/migrations/20180221210540_make_following_postgres_array.exs
parenta7994185739522dee80e22f76e5fdac1a3b8279b (diff)
parent3589b30ddc9d0c23ca6f00264cff05e53be1b270 (diff)
downloadpleroma-ad8d86e7c600bca65e5f0bb407651d33f1e53043.tar.gz
pleroma-ad8d86e7c600bca65e5f0bb407651d33f1e53043.zip
Merge remote-tracking branch 'remotes/upstream/develop' into 161-incoming-replies-depth-limit
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