summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-10-08 12:28:10 +0000
committerrinpatch <rinpatch@sdf.org>2019-10-08 12:28:10 +0000
commit6355694309b0bad3687a8a7820b81ebf6625751d (patch)
tree677e6798940b76be29771a9a574f544772c52e6b /priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs
parent44e0c5cabb157fe2cfc66af0167547ac51f98ff0 (diff)
parent32808208bef12996f819d21ca2635837aff98cbf (diff)
downloadpleroma-6355694309b0bad3687a8a7820b81ebf6625751d.tar.gz
pleroma-6355694309b0bad3687a8a7820b81ebf6625751d.zip
Merge branch 'chore/format-migrations' into 'develop'
Enable `mix format` for migrations See merge request pleroma/pleroma!1819
Diffstat (limited to 'priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs')
-rw-r--r--priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs b/priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs
index 7afbcbd76..ef5b35125 100644
--- a/priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs
+++ b/priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs
@@ -3,7 +3,7 @@ defmodule Pleroma.Repo.Migrations.DataMigrationPopulateOAuthScopes do
def up do
for t <- [:oauth_authorizations, :oauth_tokens] do
- execute "UPDATE #{t} SET scopes = apps.scopes FROM apps WHERE #{t}.app_id = apps.id;"
+ execute("UPDATE #{t} SET scopes = apps.scopes FROM apps WHERE #{t}.app_id = apps.id;")
end
end