Issue #54: Make BOOLEAN check more robust
This patch makes the check for BOOLEAN columns more robust.
To test:
- Have a commit that adds the word 'boolean' in a COMMENT entry in kohastructure.sql
- Run: $ kshell k$ /kohadevbox/qa-test-tools/koha-qa.pl -c 1 -v 2 => FAIL: It prints an error about BOOLEAN type, which is incorrect
- Have a commit that adds 'BOOLEAN' as part of an ENUM column in kohastructure.sql as well
- Repeat 2 => FAIL: It prints an error about BOOLEAN type, which is incorrect
- Apply this patch and repeat 1 through 4 => SUCCESS: No more false positives!
- Make a commit introducing a legit BOOLEAN column somewhere
- Repeat 2 => SUCCESS: It is detected as BOOLEAN and reported incorrect!
- Sign off :-D
Signed-off-by: Tomas Cohen Arazi tomascohen@theke.io