Changed size of id field in wish_table.
Added validation.