Is it possible to change the table name in the migration file-laravel
PHP Snippet 1:
protected $table = 'todoapps';
PHP Snippet 2:
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Flight extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'my_flights';
}