FEATURE #1865: add logging for uploaded file
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user