alter table buttons auto increment start from zero
This commit is contained in:
parent
68e72ea251
commit
81003986f5
|
@ -18,6 +18,9 @@ class CreateButtonsTable extends Migration
|
||||||
$table->string('name');
|
$table->string('name');
|
||||||
$table->timestamps();
|
$table->timestamps();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// https://laraveldaily.com/set-auto-increment-start-laravel-migrations/
|
||||||
|
DB::statement("ALTER TABLE `buttons` AUTO_INCREMENT=0;");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue