db migration script
query by pill's product code instead of name