src/Common/CommandData.php
private function addLogs()
    {
        $createdBy = new GeneratorField();
        $createdBy->name = 'created_by';
        $createdBy->parseDBType('integer');
        $createdBy->parseOptions('if,n');
        $this->fields[] = $createdBy;

        $updatedBy = new GeneratorField();
        $updatedBy->name = 'updated_by';
        $updatedBy->parseDBType('integer');
        $updatedBy->parseOptions('if,n'); // edited by dandisy
        $this->fields[] = $updatedBy;
    }
private function addLogs()
    {
        $createdBy = new GeneratorField();
        $createdBy->name = 'created_by';
        $createdBy->parseDBType('integer');
        $createdBy->parseOptions('if,n');
        $this->fields[] = $createdBy;

        $updatedBy = new GeneratorField();
        $updatedBy->name = 'updated_by';
        $updatedBy->parseDBType('integer');
        $updatedBy->parseOptions('if,n'); // edited by dandisy
        $this->fields[] = $updatedBy;
    }
private function addLogs ( ) { $ createdBy = new GeneratorField ( ) ; $ createdBy -> name = 'created_by' ; $ createdBy -> parseDBType ( 'integer' ) ; $ createdBy -> parseOptions ( 'if,n' ) ; $ this -> fields [ ] = $ createdBy ; $ updatedBy = new GeneratorField ( ) ; $ updatedBy -> name = 'updated_by' ; $ updatedBy -> parseDBType ( 'integer' ) ; $ updatedBy -> parseOptions ( 'if,n' ) ; // edited by dandisy $ this -> fields [ ] = $ updatedBy ; }
added by dandisy
added by dandisy