Skip to content

Commit

Permalink
Complete user activity migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Raccoon254 committed Jun 24, 2024
1 parent 7fec85c commit da2ee94
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ public function up(): void
{
Schema::create('user_activities', function (Blueprint $table) {
$table->id();
$table->foreignId('user_id')->constrained()->onDelete('cascade');
$table->string('activity');
$table->text('description');
$table->string('device');
$table->string('browser');
$table->string('ip');
$table->string('user_agent');
$table->timestamps();
});
}
Expand Down

0 comments on commit da2ee94

Please sign in to comment.