Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function up() |
||
13 | { |
||
14 | Schema::connection(config('activitylog.database_connection'))->create(config('activitylog.table_name'), function (Blueprint $table) { |
||
15 | $table->bigIncrements('id'); |
||
16 | $table->string('log_name')->nullable(); |
||
17 | $table->text('description'); |
||
18 | $table->nullableMorphs('subject', 'subject'); |
||
19 | $table->nullableMorphs('causer', 'causer'); |
||
20 | $table->json('properties')->nullable(); |
||
21 | $table->uuid('batch_uuid')->nullable(); |
||
22 | $table->string('event')->nullable(); |
||
23 | $table->timestamps(); |
||
24 | $table->index('log_name'); |
||
25 | }); |
||
36 |