Skip to content

Changes to clean database for 2.0 #2247

Closed
@ywarnier

Description

@ywarnier

Replace queries where we use c_id + id instead by only iid.
Remove all fields (c_id +) id in corresponding tables.

  • delete track_e_uploads.upload_cours_id (c_id already there)
  • delete track_e_hotspot.hotspot_course_code (c_id already there)
  • convert track_stored_values_stack.course_id to c_id and change type (varchar to int)
  • convert track_stored_values.course_id to c_id and change type
  • convert track_e_exercises.session_id from smallint to int
  • convert course_category.parent_id from varchar(40) to int
  • templates.course_code to template.c_id
  • gradebook_category.course_code to c_id
  • gradebook_evaluation.course_code to c_id
  • gradebook_link.course_code to c_id
  • gradebook_result_log.id_result to result_id
  • add c_quiz_question_category.session_id
  • rename track_e_exercises.exe_weighting to track_e_exercises.max_score
  • rename track_e_exercises.exe_result to track_e_exercises.score
  • add extra_field.helper_text for adding helper texts under form elements
  • alter table gradebook_category add index idx_gb_cat_parent (parent_id);
  • alter table gradebook_evaluation add index idx_ge_cat (category_id);
  • alter table gradebook_result add index idx_gb_uid_eid (user_id, evaluation_id);
  • alter table gradebook_link add index idx_gl_cat (category_id);
  • drop course column from personal_agenda table (deprecated)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions