some fixes
creation of sql files for mysql
definition for indentity on attributes