mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-18 04:51:00 +01: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->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