schema fix for mysql strict mode