projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'bugfix/1695-user_emoji_miration' into 'develop'
[akkoma]
/
priv
/
repo
/
migrations
/
20190222104808_data_migration_normalize_scopes.exs
diff --git
a/priv/repo/migrations/20190222104808_data_migration_normalize_scopes.exs
b/priv/repo/migrations/20190222104808_data_migration_normalize_scopes.exs
index d44e5096bb01badf3f26b3abdeb1a3de92bded75..92ab9bd2c6db68f310414c76f981392e938c0ba0 100644
(file)
--- a/
priv/repo/migrations/20190222104808_data_migration_normalize_scopes.exs
+++ b/
priv/repo/migrations/20190222104808_data_migration_normalize_scopes.exs
@@
-3,7
+3,7
@@
defmodule Pleroma.Repo.Migrations.DataMigrationNormalizeScopes do
def up do
for t <- [:apps, :oauth_authorizations, :oauth_tokens] do
def up do
for t <- [:apps, :oauth_authorizations, :oauth_tokens] do
- execute
"UPDATE #{t} SET scopes = string_to_array(array_to_string(scopes, ' '), ' ');"
+ execute
("UPDATE #{t} SET scopes = string_to_array(array_to_string(scopes, ' '), ' ');")
end
end
end
end