Added operation_type column to version tables