Merge pull request 'Manually define PATH for Arch Linux users in systemd unit' (...
[akkoma] / priv / repo / migrations / 20170906120646_add_mastodon_apps.exs
index ccd5e3fe2091579f89ddbcaf0ac30d853f3055e9..0e01625ff84afb8698e568d2e1cad3867d88f17d 100644 (file)
@@ -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