Renamed and reorganized Livewire components, namespaces, and views for improved file structure and clarity. Introduced filaments.show and filaments.edit routes. Updated database migrations and navigation routes accordingly. Upgraded dependencies in composer.

This commit is contained in:
2025-12-13 03:10:31 +01:00
parent 85b97ed3b1
commit 7e79d1d034
35 changed files with 1319 additions and 736 deletions
@@ -11,7 +11,7 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('colors', function (Blueprint $table) {
Schema::create('color', function (Blueprint $table) {
$table->id();
$table->string('name')->required();
$table->string('hex')->required();
@@ -24,6 +24,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('colors');
Schema::dropIfExists('color');
}
};
@@ -11,7 +11,7 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('manufacturers', function (Blueprint $table) {
Schema::create('manufacturer', function (Blueprint $table) {
$table->id();
$table->string('name')->required();
$table->string('description')->nullable();
@@ -27,6 +27,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('manufacturers');
Schema::dropIfExists('manufacturer');
}
};
@@ -11,7 +11,7 @@ return new class extends Migration
*/
public function up(): void
{
Schema::create('buildplates', function (Blueprint $table) {
Schema::create('buildplate', function (Blueprint $table) {
$table->id();
$table->string('name');
$table->string('description');
@@ -27,6 +27,6 @@ return new class extends Migration
*/
public function down(): void
{
Schema::dropIfExists('buildplates');
Schema::dropIfExists('buildplate');
}
};