[migration] Test and fix case of addition of an attribute with some serialized constraint
It was crashing on attempt to remove an unexisting constraint. This code may be
removed safely as it's expected to be handled by the constraint removal hook.
Notice that adding a vocabulary on shortpara makes yams change the varchar max
size. This is arguable but not the point of this test, so simply adapt the max
size defined in the schema coherently so we don't have to bother with that at
this point.
Javascript Coding Standards---------------------------(Draft, to be continued):Naming: camelCase, except for CONSTANTSIndentation rules~~~~~~~~~~~~~~~~~- espace avant accolade ouvrante- retour à la ligne après accolade ouvrante (éventuellement pas de retour à la ligne s'il y a tout sur la même ligne, mais ce n'est pas le cas ici.- no tabsDocumentation~~~~~~~~~~~~~XXX explain comment format for documentation generationCoding~~~~~~- Don't forget 'var' before variable definition, and semi-colon (';') after **each** statement.- Check the firebug console for deprecation warningsAPI usage~~~~~~~~~- unless intended, use jQuery('container') rather than jqNode('container')See also~~~~~~~~http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml