Add activity logging for files
This commit is contained in:
parent
0999ad7ff0
commit
cbecfff6da
6 changed files with 96 additions and 106 deletions
database/migrations
|
@ -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);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue