Skip to content

Conversation

@euclides-jr
Copy link

@euclides-jr euclides-jr commented Jan 8, 2020

Hi,
currently, when checking for the existence of the migrations table, any table with this name is accepted as a match, regardless of the schema the table is in. This conflicts with graphile_worker, which itself creates a migrations table, albeit in a different schema. Nevertheless, upon starting up postgres-migrations sees it, believes to have found its own table and crashes when trying to access it. This pull request solves the issue by looking for the table only in the public namespace, where it is created by default.

@ThomWright
Copy link
Owner

Duplicate of #33 - albeit with a different solution.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants