summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@pm.me>2019-07-09 21:21:09 +0300
committerRoman Chvanikov <chvanikoff@pm.me>2019-07-09 21:21:09 +0300
commit371d39e160efa51f2fe608e1788f6b11b89d9839 (patch)
treeb5dc6280d713f11392fd47bffd1a675b527162f5 /priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
parentd2cb18b2a342b990cc47dfdc42adb843c3db1b5e (diff)
parent670a77ecbc94d57c6ecb5e569597e81cee4b5532 (diff)
downloadpleroma-371d39e160efa51f2fe608e1788f6b11b89d9839.tar.gz
pleroma-371d39e160efa51f2fe608e1788f6b11b89d9839.zip
Merge develop
Diffstat (limited to 'priv/repo/migrations/20170426154155_create_websub_client_subscription.exs')
-rw-r--r--priv/repo/migrations/20170426154155_create_websub_client_subscription.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20170426154155_create_websub_client_subscription.exs b/priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
index 89d3af7ae..4b79d7506 100644
--- a/priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
+++ b/priv/repo/migrations/20170426154155_create_websub_client_subscription.exs
@@ -2,7 +2,7 @@ defmodule Pleroma.Repo.Migrations.CreateWebsubClientSubscription do
use Ecto.Migration
def change do
- create table(:websub_client_subscriptions) do
+ create_if_not_exists table(:websub_client_subscriptions) do
add :topic, :string
add :secret, :string
add :valid_until, :naive_datetime_usec