summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20170906120646_add_mastodon_apps.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-10-08 15:16:39 +0300
committerrinpatch <rinpatch@sdf.org>2019-10-08 15:16:39 +0300
commit32808208bef12996f819d21ca2635837aff98cbf (patch)
tree677e6798940b76be29771a9a574f544772c52e6b /priv/repo/migrations/20170906120646_add_mastodon_apps.exs
parent44e0c5cabb157fe2cfc66af0167547ac51f98ff0 (diff)
downloadpleroma-32808208bef12996f819d21ca2635837aff98cbf.tar.gz
pleroma-32808208bef12996f819d21ca2635837aff98cbf.zip
Enable `mix format` for migrations
Diffstat (limited to 'priv/repo/migrations/20170906120646_add_mastodon_apps.exs')
-rw-r--r--priv/repo/migrations/20170906120646_add_mastodon_apps.exs12
1 files changed, 6 insertions, 6 deletions
diff --git a/priv/repo/migrations/20170906120646_add_mastodon_apps.exs b/priv/repo/migrations/20170906120646_add_mastodon_apps.exs
index ccd5e3fe2..0e01625ff 100644
--- a/priv/repo/migrations/20170906120646_add_mastodon_apps.exs
+++ b/priv/repo/migrations/20170906120646_add_mastodon_apps.exs
@@ -3,12 +3,12 @@ defmodule Pleroma.Repo.Migrations.AddMastodonApps do
def change do
create_if_not_exists table(:apps) do
- add :client_name, :string
- add :redirect_uris, :string
- add :scopes, :string
- add :website, :string
- add :client_id, :string
- add :client_secret, :string
+ add(:client_name, :string)
+ add(:redirect_uris, :string)
+ add(:scopes, :string)
+ add(:website, :string)
+ add(:client_id, :string)
+ add(:client_secret, :string)
timestamps()
end