Drop all foreign keys of the table $table


Transform the Koha version from a 4 parts string to a number, with just 1 .


set the DBversion in the systempreferences


Check whether a given update should be run when passed the proposed version number. The update will always be run if the proposed version is greater than the current database version and less than or equal to the version in kohaversion.pl. The update is also run if the version contains XXX, though this behavior will be changed following the adoption of non-linear updates as implemented in bug 7167.