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

PostgreSQL: improve table existence check (or assume default schema as "public"). #18026

Closed
phackwer opened this issue Feb 21, 2017 · 0 comments

Comments

@phackwer
Copy link
Contributor

  • Laravel Version: all
  • PHP Version: any
  • Database Driver & Version: PostgreSQL any

Description:

The check por compileTableExists with PostgreSQL could assume that the schema in use is "public" in cases it hasn't been explicitly set.

Steps To Reproduce:

Connect to a PostgreSQL without setting the schema and run php artisan migrate. Action will always try to create the migration table due the fact it won't find a migration table with null schema name on information_schema.

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

No branches or pull requests

2 participants