Moodle

Drop originalquestion field from the question_states table

Details

  • Type: Task Task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.9.3
  • Fix Version/s: 2.0
  • Component/s: Questions
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

It is a legacy of an aborted attempt to introduce question versioning. It is just a waste of space.

Activity

Hide
Tim Hunt added a comment -

Dan, or anyone else who manages a lot of Moodle sites, would you be able to run the query

SELECT * FROM mdl_question_states WHERE originalquestion <> 0;

against a number of real sites to help confirm that the originalquestion field was really never used, before I drop it. Thanks.

Show
Tim Hunt added a comment - Dan, or anyone else who manages a lot of Moodle sites, would you be able to run the query SELECT * FROM mdl_question_states WHERE originalquestion <> 0; against a number of real sites to help confirm that the originalquestion field was really never used, before I drop it. Thanks.
Hide
Dan Poltawski added a comment -

Tim, there are no rows using this field in any of my 712 moodles.

Show
Dan Poltawski added a comment - Tim, there are no rows using this field in any of my 712 moodles.
Hide
Tim Hunt added a comment -

Thanks Dan. Very reassuring.

Show
Tim Hunt added a comment - Thanks Dan. Very reassuring.
Hide
Jonathan Newman added a comment -

Tim, I sampled about 25% of our Moodle sites and the query showed no results.

Show
Jonathan Newman added a comment - Tim, I sampled about 25% of our Moodle sites and the query showed no results.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: