Fix environment mapping

This commit is contained in:
Nabeel Shahzad
2021-06-08 17:46:15 -04:00
parent a31201dfd3
commit 544462f420
4 changed files with 7 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ class MigrationService extends Service
$availMigrations[] = $filepath;
}
Log::info('Migrations available: '.count($availMigrations));
//Log::info('Migrations available: '.count($availMigrations));
return $availMigrations;
}

View File

@@ -22,7 +22,8 @@ class SeederService extends Service
// Map an environment to a seeder directory, if we want to share
public static $seed_mapper = [
'local' => 'dev',
'local' => 'dev',
'production' => 'prod'
];
public function __construct(DatabaseService $databaseSvc)