Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check table exists in current search path #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jul 13, 2022

  1. Check table exists in current search path

    * If a `migrations` table did exist in a schema outside of the
      search path, `doesTableExist` would return true but the migration
      would then fail with 'relation "migrations" does not exist'
    * See https://dba.stackexchange.com/a/86098 for the details on the query
    * This new query makes it possible to have one `migrations` table per
      schema
    
    Issue ThomWright#92 Migrations can't be run on multiple schemas in the same database
    
    Co-authored-by: Remi Koenig <[email protected]>
    slifty and Remi Koenig committed Jul 13, 2022
    Configuration menu
    Copy the full SHA
    2952d57 View commit details
    Browse the repository at this point in the history