fix unique table directions field name

This commit is contained in:
aslan 2024-03-13 14:06:50 +03:00
parent 6187bf360e
commit f5638722a6
1 changed files with 1 additions and 1 deletions

View File

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