diff --git a/app/Enums/ClientStatus.php b/app/Enums/ClientStatus.php new file mode 100644 index 0000000..dc58401 --- /dev/null +++ b/app/Enums/ClientStatus.php @@ -0,0 +1,9 @@ + 'date', + 'status' => ClientStatus::class, + ]; +} diff --git a/database/migrations/2026_01_28_014750_create_clients_table.php b/database/migrations/2026_01_28_014750_create_clients_table.php new file mode 100644 index 0000000..a231c87 --- /dev/null +++ b/database/migrations/2026_01_28_014750_create_clients_table.php @@ -0,0 +1,31 @@ +id(); + $table->string('name'); + $table->string('abbreviation')->nullable(); + $table->date('audition_date'); + $table->string('status')->default('active'); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::dropIfExists('clients'); + } +};