Skip to content

Conversation

@Rodolfo-Solaro
Copy link

@Rodolfo-Solaro Rodolfo-Solaro commented Jan 2, 2025

Background

Right now all tables added to the information_schema.tables are always added with table_schema = 'public'.
This is a problem when using a schema different than 'public' when using pg-mem + knex because, when running migrations, knex queries the information_schema.tables table to determine if the knex migration tables have been created successfully.

Before:

Screenshot 2025-01-02 at 7 17 39 PM

After:

Screenshot 2025-01-02 at 7 17 24 PM

@juanrfigueiredo
Copy link

had the same issue, made the temporary fix.

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