modified schema for mysql