for testing : Caused by PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'laravel_6_testing.post' doesn't exist code example
Example: laravel base table or view not found hasmany
// Laravel can't determine the plural form of the word you used for your table name.
// Just specify your table in the model as such:
class Cotizacion extends Model{
public $table = "your table name";