I am learning Laravel 5 and ran into an error when renaming a column in a table.
Created a migration:
public function up()
{
Schema::table('messages', function (Blueprint $table) {
$table->renameColumn('age', 'agee');
});
}
I send a command for migration and I get an error:
In MySqlConnection.php line 65:
Class 'Doctrine\DBAL\Driver\PDOMySql\Driver' not found
Tried reinstalling in this way:
- deleted record "doctrine/dbal": "^3.1", from composer.json file
- typed in the console: composer update
- typed in the console: composer require doctrine/dbal
The package was reinstalled, but the error persisted. How to fix?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/3iw3aLe
via IFTTT
Aucun commentaire:
Enregistrer un commentaire