Open vicenterusso opened 2 years ago
When I run php artisan code:models --table=mytable_view I get the following error:
php artisan code:models --table=mytable_view
Table [mytable_view] does not belong to schema [my-db-name]
I'm using default public schema from Postgres
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\"
php artisan krlove:generate:model SpkUserOu --table-name \"spk_userOu\"
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