diff options
author | Maksim <parallel588@gmail.com> | 2019-07-01 01:08:07 +0000 |
---|---|---|
committer | feld <feld@feld.me> | 2019-07-01 01:08:07 +0000 |
commit | 85c7916c94017c6a3657a3540f1e6c3afcb78225 (patch) | |
tree | 3c4d4976b52a135f73e07b0fe68b17aae2681ee1 /priv/repo/migrations/20190515222404_add_thread_visibility_function.exs | |
parent | 66380d36d540751f59445c8a65e9747ce5475ee5 (diff) | |
download | pleroma-85c7916c94017c6a3657a3540f1e6c3afcb78225.tar.gz pleroma-85c7916c94017c6a3657a3540f1e6c3afcb78225.zip |
[#1033] Fix database migrations
Diffstat (limited to 'priv/repo/migrations/20190515222404_add_thread_visibility_function.exs')
-rw-r--r-- | priv/repo/migrations/20190515222404_add_thread_visibility_function.exs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20190515222404_add_thread_visibility_function.exs b/priv/repo/migrations/20190515222404_add_thread_visibility_function.exs index dc9abc998..5184c0c48 100644 --- a/priv/repo/migrations/20190515222404_add_thread_visibility_function.exs +++ b/priv/repo/migrations/20190515222404_add_thread_visibility_function.exs @@ -68,6 +68,6 @@ defmodule Pleroma.Repo.Migrations.AddThreadVisibilityFunction do end def down do - execute("drop function thread_visibility(actor varchar, activity_id varchar)") + execute("drop function if exists thread_visibility(actor varchar, activity_id varchar)") end end |