aboutsummaryrefslogtreecommitdiff
path: root/db/migrations/5.4.6_tree_changes.php
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrations/5.4.6_tree_changes.php')
-rw-r--r--db/migrations/5.4.6_tree_changes.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/db/migrations/5.4.6_tree_changes.php b/db/migrations/5.4.6_tree_changes.php
index 146a77a..e71be6e 100644
--- a/db/migrations/5.4.6_tree_changes.php
+++ b/db/migrations/5.4.6_tree_changes.php
@@ -33,8 +33,6 @@ final class TreeChanges extends Migration
foreach (DBManager::get()->fetchAll($query) as $institute) {
$stmt->execute(['name' => $institute['Name'], 'inst' => $institute['Institut_id']]);
}
- // Remove institute assignments for sem_tree entries.
- DBManager::get()->exec("ALTER TABLE `sem_tree` DROP `studip_object_id`");
}
protected function down()
@@ -51,12 +49,6 @@ final class TreeChanges extends Migration
UNIX_TIMESTAMP(), UNIX_TIMESTAMP() ,
'mit welchem Status darf die Veranstaltungshierarchie bearbeitet werden (admin oder root)'
)");
-
- // Add database column for sem_tree institute assignments.
- DBManager::get()->exec("ALTER TABLE `sem_tree` ADD
- `studip_object_id` CHAR(32) CHARACTER SET latin1 COLLATE latin1_bin NULL DEFAULT NULL AFTER `name`");
- // Add index for studip_object_id.
- DBManager::get()->exec("ALTER TABLE `sem_tree` ADD INDEX `studip_object_id` (`studip_object_id`)");
}
}