保存引擎

2018-02-24 15:53 更新

要配置數(shù)據(jù)表的保存引擎,可在結(jié)構(gòu)生成器配置 engine 屬性:

Schema::create('users', function($table)
{
    $table->engine = 'InnoDB';

    $table->string('email');
});
以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)