Compare kohastructure with: $DBversion = '18.06.00.008'; ALTER TABLE marc_modification_template_actions CHANGE action action ENUM('delete_field','add_field','update_field','move_field','copy_field','copy_and_replace_field') This dbrev forgot to add NOT NULL.