diff --git a/database/migrations/2024_04_27_115330_create_task_statuses_table.php b/database/migrations/2024_04_27_115330_create_task_statuses_table.php index ff6fe72..dd207e9 100644 --- a/database/migrations/2024_04_27_115330_create_task_statuses_table.php +++ b/database/migrations/2024_04_27_115330_create_task_statuses_table.php @@ -13,7 +13,7 @@ return new class extends Migration { Schema::create('task_statuses', function (Blueprint $table) { $table->id(); - $table->string('name'); + $table->string('name', 255); $table->timestamps(); }); } diff --git a/database/migrations/2024_04_27_115604_create_labels_table.php b/database/migrations/2024_04_27_115604_create_labels_table.php index 47973c5..b4a94f6 100644 --- a/database/migrations/2024_04_27_115604_create_labels_table.php +++ b/database/migrations/2024_04_27_115604_create_labels_table.php @@ -13,7 +13,7 @@ return new class extends Migration { Schema::create('labels', function (Blueprint $table) { $table->id(); - $table->string('name'); + $table->string('name', 255); $table->string('description')->nullable(); $table->timestamps(); }); diff --git a/database/migrations/2024_04_27_121400_create_departments_table.php b/database/migrations/2024_04_27_121400_create_departments_table.php index 3be0251..5e6d61c 100644 --- a/database/migrations/2024_04_27_121400_create_departments_table.php +++ b/database/migrations/2024_04_27_121400_create_departments_table.php @@ -13,6 +13,7 @@ return new class extends Migration { Schema::create('departments', function (Blueprint $table) { $table->id(); + $table->string('name', 255); $table->timestamps(); }); } diff --git a/database/migrations/2024_04_27_121446_create_notes_table.php b/database/migrations/2024_04_27_121446_create_notes_table.php index 0602063..ed37f4e 100644 --- a/database/migrations/2024_04_27_121446_create_notes_table.php +++ b/database/migrations/2024_04_27_121446_create_notes_table.php @@ -13,6 +13,8 @@ return new class extends Migration { Schema::create('notes', function (Blueprint $table) { $table->id(); + $table->string('name', 255); + $table->text('description')->nullable(); $table->timestamps(); }); } diff --git a/database/migrations/2024_04_27_115331_create_tasks_table.php b/database/migrations/2024_04_27_121447_create_tasks_table.php similarity index 90% rename from database/migrations/2024_04_27_115331_create_tasks_table.php rename to database/migrations/2024_04_27_121447_create_tasks_table.php index 365cef9..8f4f88d 100644 --- a/database/migrations/2024_04_27_115331_create_tasks_table.php +++ b/database/migrations/2024_04_27_121447_create_tasks_table.php @@ -13,8 +13,9 @@ return new class extends Migration { Schema::create('tasks', function (Blueprint $table) { $table->id(); - $table->string('name'); + $table->string('name', 255); $table->text('description')->nullable(); + $table->string('url', 255)->nullable(); $table->foreignId('status_id')->constrained('task_statuses'); $table->foreignId('created_by_id')->constrained('users'); $table->bigInteger('assigned_to_id')->nullable(); diff --git a/database/migrations/2024_04_27_115605_create_label_task_table.php b/database/migrations/2024_04_27_121448_create_label_task_table.php similarity index 100% rename from database/migrations/2024_04_27_115605_create_label_task_table.php rename to database/migrations/2024_04_27_121448_create_label_task_table.php