Merge branch 'featrue/job-monitor' into 'develop'
[akkoma] / priv / repo / migrations / 20170906120646_add_mastodon_apps.exs
index d3dd317dd6082cdd3e3b220b0d704c71c5eb8c11..ccd5e3fe2091579f89ddbcaf0ac30d853f3055e9 100644 (file)
@@ -2,7 +2,7 @@ defmodule Pleroma.Repo.Migrations.AddMastodonApps do
   use Ecto.Migration
 
   def change do
-    create table(:apps) do
+    create_if_not_exists table(:apps) do
       add :client_name, :string
       add :redirect_uris, :string
       add :scopes, :string