我需要在用户表中从1000开始我的ID,我怎么能为此创建迁移.
我目前的迁移是:
public function up()
{
Schema::create('users', function (Blueprint $table) {
$table->increments('id'); // how can I start this from 1000
$table->integer('qualification_id')->nullable();
$table->integer('experience_id')->nullable();
});
}
Run Code Online (Sandbox Code Playgroud)