fixed the schema length - it did not work if MySQL returned "bigint(20) unsigned", etc
fixed the database adapter - insert/update statements will only use indexes from $data that are in $this->schema (array_intersect_key FTW)