public function up()
{
// !!
//if error => Unknown database type enum requested
// add this line
Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string');
Schema::table('building', function (Blueprint $table) {
$table->float('height' , 10, 2)->change();
});
}
//don't forget reverse
public function down()
{
Schema::table('building', function (Blueprint $table) {
$table->bigInteger('epaisseur')->change();
});
}