fix table departments field name not unique

This commit is contained in:
aslan 2024-03-13 15:16:41 +03:00
parent 99f6e2afde
commit 04d596b0eb
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ return new class extends Migration
{
Schema::create('departments', function (Blueprint $table) {
$table->id();
$table->string('name', 255)->unique();
$table->string('name', 255);
$table->text('description')->nullable();
$table->smallInteger('position');
$table->string('slug', 255)->unique();