add primaryKeys, foreignKeys and unique definition in mysql adapter