function student_files_update

7.x student_files.install student_files_update($old_schema, $new_schema)
6.x student_files.install student_files_update($old_schema, $new_schema)

File

modules/student_files/student_files.install, line 55
This file handles the installation processes (like new db tables) for the student_files module.

Code

function student_files_update($old_schema, $new_schema) {

  if (intval($old_schema) < 2) {
    db_query("ALTER TABLE student_files MODIFY filepath LONGTEXT");
    fpm("Altered student_files table to change TEXT to LONGTEXT.");
  }

}