X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20170426154155_create_websub_client_subscription.exs;h=4b79d7506203ef15067a1dfa47d32d72458e568c;hb=e4e3fd7e5552db274655d58bbbec1e4faabf7ccd;hp=89d3af7aee5ff7ac67c47c44b50f3fc29213c270;hpb=aac48d0cc6893c231c88d5cd7fe0334353bbf299;p=akkoma 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