chore: 🗃️ add deleted_at column on gitlab tables
This commit is contained in:
parent
a0c0f7965a
commit
08637c882a
6 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ return new class extends Migration
|
|||
$table->unsignedBigInteger('gitlab_id')->unique()->comment('Gitlab id of the gitlab project.');
|
||||
$table->timestamp('created_at')->nullable()->comment('Date the gitlab project was created.');
|
||||
$table->timestamp('updated_at')->nullable()->comment('Date the gitlab project was updated.');
|
||||
$table->timestamp('deleted_at')->nullable()->comment('Date the gitlab project was deleted.');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ return new class extends Migration
|
|||
$table->foreignId('user_id')->unique()->comment('Id of the user.')->constrained()->cascadeOnDelete();
|
||||
$table->timestamp('created_at')->nullable()->comment('Date the gitlab user was created.');
|
||||
$table->timestamp('updated_at')->nullable()->comment('Date the gitlab user was updated.');
|
||||
$table->timestamp('deleted_at')->nullable()->comment('Date the gitlab user was deleted.');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ return new class extends Migration
|
|||
$table->unsignedBigInteger('gitlab_id')->unique()->comment('Gitlab id of the gitlab label.');
|
||||
$table->timestamp('created_at')->nullable()->comment('Date the gitlab label was created.');
|
||||
$table->timestamp('updated_at')->nullable()->comment('Date the gitlab label was updated.');
|
||||
$table->timestamp('deleted_at')->nullable()->comment('Date the gitlab label was deleted.');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ return new class extends Migration
|
|||
$table->date('g_due_date')->nullable()->comment('Due at date of the gitlab issue.');
|
||||
$table->timestamp('created_at')->nullable()->comment('Date the gitlab issue was created.');
|
||||
$table->timestamp('updated_at')->nullable()->comment('Date the gitlab issue was updated.');
|
||||
$table->timestamp('deleted_at')->nullable()->comment('Date the gitlab issue was deleted.');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -27,6 +27,7 @@ return new class extends Migration
|
|||
$table->date('g_due_date')->nullable()->comment('Due at date of the gitlab milestone.');
|
||||
$table->timestamp('created_at')->nullable()->comment('Date the gitlab milestone was created.');
|
||||
$table->timestamp('updated_at')->nullable()->comment('Date the gitlab milestone was updated.');
|
||||
$table->timestamp('deleted_at')->nullable()->comment('Date the gitlab milestone was deleted.');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ return new class extends Migration
|
|||
->constrained('gitlab_labels')->onUpdate('no action')->onDelete('cascade');
|
||||
$table->timestamp('created_at')->nullable()->comment('Date the relation was created.');
|
||||
$table->timestamp('updated_at')->nullable()->comment('Date the relation was updated.');
|
||||
$table->timestamp('deleted_at')->nullable()->comment('Date the relation was deleted.');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue