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

This commit is contained in:
Roly Gutierrez
2020-04-03 10:59:24 -04:00
parent 449f7a2315
commit f8aba2ab03
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,