Lots of changes

This commit is contained in:
Simon Pocrnjič
2024-11-13 22:11:07 +01:00
parent 90a5858320
commit 953ff38d64
76 changed files with 2822 additions and 427 deletions
@@ -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();
});
@@ -27,7 +27,7 @@ public function up(): void
$table->foreignIdFor(\App\Models\Contract::class);
$table->foreignId('type_id')->references('id')->on('account_types');
$table->unsignedTinyInteger('active')->default(1);
$table->unsignedTinyInteger('deleted')->default(0);
$table->softDeletes();
$table->timestamps();
});
}