mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-24 23:18:45 +02:00
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…
x
Reference in New Issue
Block a user