laravel icon indicating copy to clipboard operation
laravel copied to clipboard

Not generating views for Postgres

Open vicenterusso opened this issue 3 years ago • 1 comments

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

vicenterusso avatar Jan 11 '22 11:01 vicenterusso

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\"

pablofuenzalidadf avatar Oct 12 '22 15:10 pablofuenzalidadf