Lots of changes
This commit is contained in:
@@ -15,7 +15,7 @@ public function up(): void
|
||||
$table->id();
|
||||
$table->string('name',50);
|
||||
$table->string('description',125)->nullable();
|
||||
$table->unsignedTinyInteger('deleted')->default(0);
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
|
||||
});
|
||||
@@ -24,7 +24,8 @@ public function up(): void
|
||||
$table->id();
|
||||
$table->string('name',50);
|
||||
$table->string('description',125)->nullable();
|
||||
$table->unsignedTinyInteger('deleted')->default(0);
|
||||
$table->string('color_tag', 50)->nullable();
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
|
||||
});
|
||||
@@ -33,7 +34,7 @@ public function up(): void
|
||||
$table->id();
|
||||
$table->string('name',50);
|
||||
$table->string('description',125)->nullable();
|
||||
$table->unsignedTinyInteger('deleted')->default(0);
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
|
||||
});
|
||||
@@ -42,7 +43,7 @@ public function up(): void
|
||||
$table->id();
|
||||
$table->string('name',50);
|
||||
$table->string('description',125)->nullable();
|
||||
$table->unsignedTinyInteger('deleted')->default(0);
|
||||
$table->softDeletes();
|
||||
$table->timestamps();
|
||||
|
||||
});
|
||||
@@ -62,7 +63,7 @@ public function up(): void
|
||||
$table->foreignId('group_id')->references('id')->on('person_groups');
|
||||
$table->foreignId('type_id')->references('id')->on('person_types');
|
||||
$table->unsignedTinyInteger('active')->default(1);
|
||||
$table->unsignedTinyInteger('deleted')->default(0);
|
||||
$table->softDeletes();
|
||||
$table->foreignIdFor(\App\Models\User::class);
|
||||
$table->timestamps();
|
||||
});
|
||||
@@ -75,7 +76,7 @@ public function up(): void
|
||||
$table->string('description',125)->nullable();
|
||||
$table->foreignIdFor(\App\Models\Person\Person::class);
|
||||
$table->unsignedTinyInteger('active')->default(1);
|
||||
$table->unsignedTinyInteger('deleted')->default(0);
|
||||
$table->softDeletes();
|
||||
$table->foreignIdFor(\App\Models\User::class);
|
||||
$table->timestamps();
|
||||
|
||||
@@ -89,7 +90,7 @@ public function up(): void
|
||||
$table->string('description',125)->nullable();
|
||||
$table->foreignIdFor(\App\Models\Person\Person::class);
|
||||
$table->unsignedTinyInteger('active')->default(1);
|
||||
$table->unsignedTinyInteger('deleted')->default(0);
|
||||
$table->softDeletes();
|
||||
$table->foreignIdFor(\App\Models\User::class);
|
||||
$table->timestamps();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user