* Refactor and add importer to Installer module #443 * Refactor for finances to use in import * Import groups into roles * Formatting * Formatting * Add interface in installer for import * Notes about importing * Check for installer folder * Formatting * Fix pirep->user mapping * Unused import * Formatting
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Nwidart\Modules\Activators\FileActivator;
|
||||
|
||||
return [
|
||||
'namespace' => 'Modules',
|
||||
'stubs' => [
|
||||
@@ -133,4 +135,14 @@ return [
|
||||
'register' => [
|
||||
'translations' => true,
|
||||
],
|
||||
|
||||
'activator' => 'file',
|
||||
'activators' => [
|
||||
'file' => [
|
||||
'class' => FileActivator::class,
|
||||
'statuses-file' => config_path('modules_statuses.json'),
|
||||
'cache-key' => 'activator.installed',
|
||||
'cache-lifetime' => 604800,
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
7
config/modules_statuses.json
Normal file
7
config/modules_statuses.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"Awards": true,
|
||||
"Installer": true,
|
||||
"Sample": true,
|
||||
"VMSAcars": true,
|
||||
"Vacentral": true
|
||||
}
|
||||
@@ -14,7 +14,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'default' => env('QUEUE_DRIVER', 'sync'),
|
||||
'default' => env('QUEUE_DRIVER', 'database'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
return [
|
||||
'pagination' => [
|
||||
'limit' => 50,
|
||||
'limit' => 20,
|
||||
],
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user