I'm new to Laravel and I have this table migration working fine
public function up()
{
Schema::create('tenants', function (Blueprint $table) {
$table->integer('tenant_id')->autoIncrement();
$table->string('name', 45);
$table->integer('plan_id')->nullable();
$table->integer('status')->nullable();
});
}
public function down()
{
Schema::dropIfExists('tenants');
}
If i run php artisan migrate: fresh the auto increment max value is not set back to 1.
I know how to do it in SQL but I want to use Laravel options.
Thank you