fix table texts fields
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Failing after 26m2s Details

This commit is contained in:
aslan 2024-04-27 16:32:03 +03:00
parent 7f73d96875
commit 15eb07d0b2
6 changed files with 7 additions and 3 deletions

View File

@ -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();
});
}

View File

@ -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();
});

View File

@ -13,6 +13,7 @@ return new class extends Migration
{
Schema::create('departments', function (Blueprint $table) {
$table->id();
$table->string('name', 255);
$table->timestamps();
});
}

View File

@ -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();
});
}

View File

@ -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();