Merged in bugfix/PMCORE-545 (pull request #7231)

PMCORE-545 Public files in a process cannot be deleted (in Windows Server) when the process is imported

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Roly
2020-02-05 13:17:12 +00:00
committed by Julio Cesar Laura Avendaño
12 changed files with 386 additions and 36 deletions

View File

@@ -0,0 +1,13 @@
<?php
namespace ProcessMaker\Model;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class BpmnDiagram extends Model
{
protected $table = 'BPMN_DIAGRAM';
public $timestamps = false;
}

View File

@@ -0,0 +1,13 @@
<?php
namespace ProcessMaker\Model;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class BpmnEvent extends Model
{
protected $table = 'BPMN_EVENT';
public $timestamps = false;
}

View File

@@ -0,0 +1,13 @@
<?php
namespace ProcessMaker\Model;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class BpmnProcess extends Model
{
protected $table = 'BPMN_PROCESS';
public $timestamps = false;
}

View File

@@ -9,6 +9,8 @@ class BpmnProject extends Model
// Set our table name
protected $table = 'BPMN_PROJECT';
protected $primaryKey = 'PRJ_UID';
public $incrementing = false;
// We do not have create/update timestamps for this table
public $timestamps = false;
}
}

View File

@@ -0,0 +1,13 @@
<?php
namespace ProcessMaker\Model;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;
class EmailEvent extends Model
{
protected $table = 'EMAIL_EVENT';
public $timestamps = false;
}

View File

@@ -8,6 +8,7 @@ class ProcessFiles extends Model
{
protected $table = 'PROCESS_FILES';
protected $primaryKey = 'PRF_UID';
public $incrementing = false;
public $timestamps = false;
}