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

Not generating views for Postgres #230

Open
vicenterusso opened this issue Jan 11, 2022 · 1 comment · May be fixed by #270
Open

Not generating views for Postgres #230

vicenterusso opened this issue Jan 11, 2022 · 1 comment · May be fixed by #270

Comments

@vicenterusso
Copy link

When I run php artisan code:models --table=mytable_view I get the following error:

Table [mytable_view] does not belong to schema [my-db-name]

I'm using default public schema from Postgres

@pablofuenzalidadf
Copy link

does your table include an uppercase by any chance?
I had a similar problem, solved by adding escaped quotation marks
php artisan krlove:generate:model SpkUserOu --table-name \"spk_userOu\"

endou-mame added a commit to wiz-develop/laravel that referenced this issue Jan 22, 2024
@endou-mame endou-mame linked a pull request Jan 22, 2024 that will close this issue
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 a pull request may close this issue.

2 participants