how to update table name using laravel model code example
Example 1: laravel model tablename
protected $table = 'DomainRelatedSettings';
Example 2: laravel rename table
Schema::rename($currentTableName, $newTableName);
protected $table = 'DomainRelatedSettings';
Schema::rename($currentTableName, $newTableName);