Skip to content

Commit

Permalink
Changes to files: database/migrations/2024_08_03_081524_create_fleet_…
Browse files Browse the repository at this point in the history
…fleet_table.php

database/migrations/2024_09_03_133114_add_deleted_at_to_fleet_fleet_table.php
  • Loading branch information
dedanirungu committed Sep 27, 2024
1 parent 99c3dc9 commit cf5440a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ public function up(): void
$table->string('description')->nullable();
$table->tinyInteger('published')->default(0);

$table->foreignId('created_by')->nullable()->constrained('users')->onDelete('set null');
$table->foreignId('updated_by')->nullable()->constrained('users')->onDelete('set null');
$table->foreignId('deleted_by')->nullable()->constrained('users')->onDelete('set null');

$table->timestamps();
$table->softDeletes();
});
}

Expand Down

This file was deleted.

0 comments on commit cf5440a

Please sign in to comment.