Fixed invalid VARCHAR => INT contraints. Added "hash" field to the form table to store the hash of the form.