public function addChange($table, $method, $data)
    {
        $table = $this->getRawTableName($table);

        if (!isset($this->changes[$table])) {
            $this->changes[$table] = [];
        }

        $this->changes[$table][] = new TableChange([
            'schema' => TableStructure::identifySchema(get_class($this->db->schema)),
            'table' => $table,
            'method' => $method,
            'data' => $data,
        ]);
    }
public function addChange($table, $method, $data)
    {
        $table = $this->getRawTableName($table);

        if (!isset($this->changes[$table])) {
            $this->changes[$table] = [];
        }

        $this->changes[$table][] = new TableChange([
            'schema' => TableStructure::identifySchema(get_class($this->db->schema)),
            'table' => $table,
            'method' => $method,
            'data' => $data,
        ]);
    }
public function addChange ( $ table , $ method , $ data ) { $ table = $ this -> getRawTableName ( $ table ) ; if ( ! isset ( $ this -> changes [ $ table ] ) ) { $ this -> changes [ $ table ] = [ ] ; } $ this -> changes [ $ table ] [ ] = new TableChange ( [ 'schema' => TableStructure :: identifySchema ( get_class ( $ this -> db -> schema ) ) , 'table' => $ table , 'method' => $ method , 'data' => $ data , ] ) ; }
Adds method of structure change and its data
@param string $table
@param string $method
@param mixed $data
Adds method of structure change and its data