Merged in bugfix/PMCORE-876 (pull request #7299)

PMCORE-876 The files are not shown, when we create a PM_Table from an external DB

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Roly
2020-04-03 15:37:18 +00:00
committed by Julio Cesar Laura Avendaño
12 changed files with 1605 additions and 5 deletions

View File

@@ -3,10 +3,11 @@
use Faker\Generator as Faker;
$factory->define(\ProcessMaker\Model\AdditionalTables::class, function(Faker $faker) {
$name = $faker->regexify("/[a-zA-Z]{6}/");
return [
'ADD_TAB_UID' => G::generateUniqueID(),
'ADD_TAB_NAME' => $faker->name,
'ADD_TAB_CLASS_NAME' => $faker->name,
'ADD_TAB_NAME' => 'PMT_' . strtoupper($name),
'ADD_TAB_CLASS_NAME' => 'Pmt' . $name,
'ADD_TAB_DESCRIPTION' => $faker->text,
'ADD_TAB_SDW_LOG_INSERT' => 0,
'ADD_TAB_SDW_LOG_UPDATE' => 0,