Browse Source

Minor - add DB change in allow_exercise_categories setting BT#15636

Julio 5 years ago
parent
commit
2c5c9afa9b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      main/install/configuration.dist.php

+ 1 - 0
main/install/configuration.dist.php

@@ -1219,6 +1219,7 @@ $_configuration['required_extra_fields_in_profile'] = [
 
 // Allow exercise categories
 // CREATE TABLE c_exercise_category (id BIGINT AUTO_INCREMENT NOT NULL, c_id INT NOT NULL, name VARCHAR(255) NOT NULL, description LONGTEXT DEFAULT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, position INT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
+// ALTER TABLE c_quiz ADD exercise_category_id INT DEFAULT NULL;
 // enable @ORM in CExerciseCategory adn CQuiz::exerciseCategoryId
 //$_configuration['allow_exercise_categories'] = false;