Laravel - Miscellaneous

laravel

What happens if we decide to use table names that are different from Laravel?

In our model, we can specify the name of the table:

protected $table = 'users2'
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License