FEATURE #1865: add logging for uploaded file

This commit is contained in:
Michal Kváček
2017-08-01 23:33:01 +02:00
parent 7a38f357dc
commit e5d9ce682d
8 changed files with 135 additions and 108 deletions
@@ -0,0 +1,29 @@
<?php
use Illuminate\Database\Migrations\Migration;
class AddNewActionLogType extends Migration
{
/**
* Run the migrations.
* @return void
*/
public function up()
{
\App\Models\ActionLog\ActionLogType::create([
'string_id' => 'newFile',
'name' => 'admin/actionLog.nameNewFile',
'value' => 'admin/actionLog.newFile'
]);
}
/**
* Reverse the migrations.
* @return void
*/
public function down()
{
\App\Models\ActionLog\ActionLogType::where('string_id', 'newFile')
->delete();
}
}