You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
mysql -u root --password=`cat ~/bitnami_application_password` --database=bitnami_wordpress -se "SELECT order_id FROM wp_order_product_customer_lookup where product_id=$id AND status='wc-processing';" > /tmp/file
#update them all
for i in `cat /tmp/file`;
#update meta field
do
mysql -u root --password=`cat ~/bitnami_application_password` --database=bitnami_wordpress -se "UPDATE wp_postmeta as t, (SELECT order_id FROM wp_order_product_customer_lookup where order_id=$i AND status='wc-processing' AND cc_attendance='pending') as temp SET meta_value='$poke_id' WHERE temp.order_id = t.post_id AND meta_key='email_confirmation_pre_event';"