diff options
| author | Maxim Filippov <colixer@gmail.com> | 2019-10-10 03:33:55 +0300 |
|---|---|---|
| committer | Maxim Filippov <colixer@gmail.com> | 2019-10-10 03:33:55 +0300 |
| commit | 24eecc3cb4a35376124b1fc792183d8b8dd0a9cc (patch) | |
| tree | eac6f8b374bab49869de8bd0496e09938c9a65fa /priv/repo/migrations/20190213185600_data_migration_populate_o_auth_scopes.exs | |
| parent | aa7fd616c7cfeb84551af2170886856a815dc498 (diff) | |
| parent | 9fd5176c35d21846fb8368ea7bc0285f9cd74ad4 (diff) | |
| download | pleroma-24eecc3cb4a35376124b1fc792183d8b8dd0a9cc.tar.gz pleroma-24eecc3cb4a35376124b1fc792183d8b8dd0a9cc.zip | |
Merge branch 'develop' into feature/reports-groups-and-multiple-state-update
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 |
