Skip to content

sql: Unable to run migrations when coming from beta.9 #1185

Closed

Description

@aeneasr
No description provided.

Activity

  1. added this to the v1.0.0-rc.2 milestone on Nov 21, 2018
  2. aeneasr commented on Nov 21, 2018

    @aeneasr
    MemberAuthor
  3. added 3 commits that reference this issue on Nov 21, 2018
    9ed9464
    2973d13
    1660fb7
  4. added a commit that references this issue on Nov 21, 2018
    1295663
  5. davidfergo commented on Nov 22, 2018

    @davidfergo

    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")

  6. aeneasr commented on Nov 22, 2018

    @aeneasr
    MemberAuthor
  7. davidfergo commented on Nov 22, 2018

    @davidfergo

    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?

  8. aeneasr commented on Dec 12, 2018

    @aeneasr
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions