fix table departments field name not unique
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Successful in 1m46s Details
Tests & Lint & Deploy to Railway / deploy (push) Successful in 30s Details

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();