Answer the question
In order to leave comments, you need to log in
Why doesn't he want to migrate?
Please tell me why he does not want to migrate
- Cards
--Cities
Migration itself => Tyk
Initial
migration => Tyk
Answer the question
In order to leave comments, you need to log in
Elementary googling solves the problem.
In migration
public function __construct()
{
\DB::getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string');
}
https://laravel.com/docs/5.8/migrations
Before modifying a column , be sure to add the doctrine/dbal dependency to your composer.json file. The Doctrine DBAL library is used to determine the current state of the column and create the SQL queries needed to make the specified adjustments to the column:
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question