We're updating the issue view to help you get more done. 

Faulty migration in auth

Description

When running auth migrations on an existing OpenLMIS 3.2 database, one of them fails with the following error:

1 2 3 4 auth_1 | Statement : SELECT remove_unique_username_index() auth_1 | Caused by: org.postgresql.util.PSQLException: ERROR: query string argument of EXECUTE is null auth_1 | Where: PL/pgSQL function remove_unique_username_index() line 17 at EXECUTE auth_1 | Location : db/migration/20171219124429037__unique_username_ignore_case.sql (/file:/service.jar!/BOOT-INF/classes!/db/migration/20171219124429037__unique_username_ignore_case.sql)

Desired Behavior

  • migrations need to work for users deploying 3.x

Environment

None

Status

Assignee

Unassigned

Reporter

Jakub Kondrat

Labels

None

Story Points

3

Components

Fix versions

Priority

Blocker