function prereqs_update

7.x prereqs.install prereqs_update($old_schema, $new_schema)
6.x prereqs.install prereqs_update($old_schema, $new_schema)

File

modules/prereqs/prereqs.install, line 33
Install file for the prereqs module

Code

function prereqs_update($old_schema, $new_schema) {

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

}