Add activity logging for files

This commit is contained in:
DaneEveritt 2022-05-29 13:56:39 -04:00
parent 0999ad7ff0
commit cbecfff6da
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
6 changed files with 96 additions and 106 deletions

View file

@ -17,10 +17,11 @@ class CreateActivityLogsTable extends Migration
$table->id();
$table->uuid('batch')->nullable();
$table->string('event')->index();
$table->string('ip');
$table->text('description')->nullable();
$table->nullableNumericMorphs('actor');
$table->nullableNumericMorphs('subject');
$table->json('properties')->nullable();
$table->json('properties');
$table->timestamp('timestamp')->useCurrent()->onUpdate(null);
});
}