I am trying to change the table database to include some features that are useful for the Computer Science department in my institution. I added a field to the table assignment called endtime which specifies the last date for the assignment submission. I added it the same way as the timedue field.
I did this by modifying the files mysql.sql and mysql.php. I then went to the version.php file to change the version number, refreshed the moodle page and it confirmed the updating of tables. I even went to the lib.php assignment_add_instance function to set the timestamp for the endtime to be like the timedue field. When I view the assignments though, they all have the endtime set to 1 January 1970.
I don't understand what else I have to change in order for this change to be recognised in Moodle. Is there something else I have to do in order for the data to be entered into the tables? Can someone help please?