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

Set schema in table_name for ActiveRecord model #274

Merged
merged 1 commit into from
Sep 4, 2020

Conversation

nikitug
Copy link
Contributor

@nikitug nikitug commented Feb 11, 2020

As long as que_jobs is put into public namespace by purpose, it would be good to explicitly set it in ActiveRecord model. Otherwise application with changed search_path is not able to access que_jobs.

@siegy22
Copy link
Member

siegy22 commented Feb 12, 2020

So this only applies for postgres dbs which are setup with public removed in their search_path?

@nikitug
Copy link
Contributor Author

nikitug commented Feb 12, 2020

@siegy22 that's right

@siegy22 siegy22 merged commit da0fd08 into que-rb:master Sep 4, 2020
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