diff options
author | lain <lain@soykaf.club> | 2019-10-10 12:38:51 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-10 12:38:51 +0000 |
commit | d7f9679ff2c9c4bd2b9967d7a32b5a4fe145305e (patch) | |
tree | f99394ee5d40b8c1bff6301acd683e13dc23edc8 /priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs | |
parent | 6c278cfe09fb9fd5220743d8f69c6e232623a09b (diff) | |
parent | 9fd5176c35d21846fb8368ea7bc0285f9cd74ad4 (diff) | |
download | pleroma-d7f9679ff2c9c4bd2b9967d7a32b5a4fe145305e.tar.gz pleroma-d7f9679ff2c9c4bd2b9967d7a32b5a4fe145305e.zip |
Merge branch 'develop' into 'reactions'
# Conflicts:
# CHANGELOG.md
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.exs | 2 |
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 |