You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sql: Unable to run migrations when coming from beta.9 #1185
Applying jwk SQL migrations...
Applied 1 jwk SQL migrations.
Applying client SQL migrations...
Applied 3 client SQL migrations.
Applying consent SQL migrations...
An error occurred while running the migrations: could not apply consent SQL migrations: Could not migrate sql schema, applied 3 migrations: pq: se ha denegado el permiso para cambiar la opción «session_replication_role» handling 7
(Last part translated: permission denied to change option "session_replication_role")
On 22. Nov 2018, at 09:41, David Fernández González ***@***.***> wrote:
Running rc2 miggrate database we received this:
Applying jwk SQL migrations...
Applied 1 jwk SQL migrations.
Applying client SQL migrations...
Applied 3 client SQL migrations.
Applying consent SQL migrations...
An error occurred while running the migrations: could not apply consent SQL migrations: Could not migrate sql schema, applied 3 migrations: pq: se ha denegado el permiso para cambiar la opción «session_replication_role» handling 7
(Last part translated: permission denied to change option "session_replication_role")
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.
Thanks!
We 've solved it making hydra db user SUPERUSER.
After migrating, we've removed the permission.
Does it worth reflect this circumstance in the docs?
Activity
aeneasr commentedon Nov 21, 2018
Fix: ory/x#17
sql: Resolve beta.9 -> rc.1 migration issue
sql: Resolve beta.9 -> rc.1 migration issue
sql: Resolve beta.9 -> rc.1 migration issue
sql: Resolve beta.9 -> rc.1 migration issue (#1186)
davidfergo commentedon Nov 22, 2018
Running rc2 miggrate database we received this:
Applying
jwkSQL migrations...Applied 1
jwkSQL migrations.Applying
clientSQL migrations...Applied 3
clientSQL migrations.Applying
consentSQL migrations...An error occurred while running the migrations: could not apply consent SQL migrations: Could not migrate sql schema, applied 3 migrations: pq: se ha denegado el permiso para cambiar la opción «session_replication_role» handling 7
(Last part translated: permission denied to change option "session_replication_role")
aeneasr commentedon Nov 22, 2018
davidfergo commentedon Nov 22, 2018
Thanks!
We 've solved it making hydra db user SUPERUSER.
After migrating, we've removed the permission.
Does it worth reflect this circumstance in the docs?
aeneasr commentedon Dec 12, 2018
#1226