public function modifyTable()
    {
        if (!$this->getTable()->containsColumn($this->getParameter('deleted_column'))) {
            $this->getTable()->addColumn(array(
                'name' => $this->getParameter('deleted_column'),
                'type' => 'TIMESTAMP'
            ));
        }
    }
public function modifyTable()
    {
        if (!$this->getTable()->containsColumn($this->getParameter('deleted_column'))) {
            $this->getTable()->addColumn(array(
                'name' => $this->getParameter('deleted_column'),
                'type' => 'TIMESTAMP'
            ));
        }
    }
public function modifyTable ( ) { if ( ! $ this -> getTable ( ) -> containsColumn ( $ this -> getParameter ( 'deleted_column' ) ) ) { $ this -> getTable ( ) -> addColumn ( array ( 'name' => $ this -> getParameter ( 'deleted_column' ) , 'type' => 'TIMESTAMP' ) ) ; } }
Add the deleted_column to the current table
Add the deleted_column to the current table