问答 / 0 / 3 / 创建于 3年前 / 更新于 3年前
wamp
8
PHP 版本:8
php-fpm 版本:
Windows 10
laravel迁移怎么设置表的默认引擎?
Schema::create('users', function (Blueprint $table) { $table->engine = 'InnoDB'; // ... });
数据库迁移《Laravel 8 中文文档》
config/database.php
'connections' => [ 'mysql' => [ 'engine' => 'InnoDB', ], ],
我要举报该,理由是: