Description of problem: As part of the data migration for public view, we need to move product field from bz db to hwcert db.
Created attachment 857673 [details] script to generate spec_url data migration sql file Usage: perl field_migration.pl product Result: a new product.sql file is generated on current dir.
Created attachment 858438 [details] sql to add product field in hwcert db
change this bug's status to post, will open a separate bug for data audit.
Created attachment 861627 [details] sql scrip to generate new tables for product data after discussing with other developers, we have decided to use product_id instead of a string for product in cert_records table
Created attachment 861628 [details] script to generate product data migration sql file
Created attachment 862732 [details] script to generate product data migration sql file
Created attachment 863036 [details] script to generate product data migration sql file
Created attachment 863078 [details] script to generate product data migration sql file
verified on live