public function updateDBRelations($modelName, $structure) {
        if (empty($structure['relations'])) return true;

        foreach($structure['relations'] as $relationName => $relationInfo) {
            $info = ModelOperator::calculateRelationVariables($modelName, $relationName);
            switch($info['relationType']) {
                case 'many_to_many':
                    $this->updateManyTable($info);
                    break;
                case 'many_to_one':
                    break;
                case 'one_to_many':
                    break;
            }
        }
    }