projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'feature/1737-magic-key-field' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20190213185600_data_migration_populate_o_auth_scopes.exs
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 7afbcbd76a37af915601d9ff0460dc6b3bc1189a..ef5b3512537844c611c7395a85e436d2e929fe21 100644
(file)
--- 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