private function removeColumnsFromEntity()
    {
        $del = $this->getDeletes();

        if ($del) {
            foreach ($del as $id => $meta) {
                $this->dropKeysFromColumnRemoved($id, $meta);

                $sql = new SqlCommand();
                $sql->exeCommand("ALTER TABLE " . PRE . $this->entity . " DROP COLUMN " . $meta['column']);
            }
        }
    }
private function removeColumnsFromEntity()
    {
        $del = $this->getDeletes();

        if ($del) {
            foreach ($del as $id => $meta) {
                $this->dropKeysFromColumnRemoved($id, $meta);

                $sql = new SqlCommand();
                $sql->exeCommand("ALTER TABLE " . PRE . $this->entity . " DROP COLUMN " . $meta['column']);
            }
        }
    }
private function removeColumnsFromEntity ( ) { $ del = $ this -> getDeletes ( ) ; if ( $ del ) { foreach ( $ del as $ id => $ meta ) { $ this -> dropKeysFromColumnRemoved ( $ id , $ meta ) ; $ sql = new SqlCommand ( ) ; $ sql -> exeCommand ( "ALTER TABLE " . PRE . $ this -> entity . " DROP COLUMN " . $ meta [ 'column' ] ) ; } } }
Remove colunas que existiam
Remove colunas que existiam