I installed the Schema module today and in the Compare >> Mismatch section, it listed the Autotagger module and had the following listed:

column nid:
declared: array('type' => 'int', 'length' => 10, 'not null' => TRUE)
actual: array('type' => 'int', 'not null' => TRUE, 'disp-width' => '10')

column tid:
declared: array('type' => 'int', 'length' => 10, 'not null' => TRUE)
actual: array('type' => 'int', 'not null' => TRUE, 'disp-width' => '10')

Not sure what that means, if it's a real issue or not, or if there's anything I can do about it, but felt I should pass it on just in case. I have been getting a lot of "duplicate entry" warnings the past few days, but not sure if it's related to this or not.

CommentFileSizeAuthor
#1 autotag-6.x-1.16-schema.patch701 bytesAlexisWilke

Comments

AlexisWilke’s picture

Status: Active » Needs review
StatusFileSize
new701 bytes

This is a bug indeed. The integers do not have a length (especially in PostgreSQL). They have a size if you want too. In this case, it would be the default size so it is simply not necessary.

I'm posting a patch.

Thank you.
Alexis Wilke

sdrycroft’s picture

Status: Needs review » Fixed

Cheers Alexis and fumbling, this will be included in the next release

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.