3
Hi, I’d like to ask you a question. I’m using the remote:
php artisan make:repository ProjectNote
And I would like to know how do I make the command understand that I want my migrate to have the name
create_table_project_notes
And consequently my table has the name
project_notes
Someone could give me a light?
I don’t know much about Artesian, but from what little I read in the documentation I think it would be
php artisan make:migration NOME_DO_MIGRATION --table=NOME_DA_TABELA
– Guilherme Nascimento
@Guilhermenascimento, I think he’s gonna have to use a library that does that in the Laravel. By default, it only creates the class skeleton, does not insert features such as table names and the like
– Wallace Maxters
Are you using this package? https://github.com/andersao/laravel-repository
– Marcos Kubis