#!/usr/bin/env php Connected to 164.92.90.235 tino_app. Step 1: Creating mkt schema and tables on target... Warning: ERROR: unterminated dollar-quoted string at or near "$$ BEGIN UPDATE mkt.email_log SET opened = TRUE, opened_date = CURRENT_TIMESTAMP WHERE tracking_id = tracking_id_param AND (opened = FALSE OR opened IS NULL)" LINE 2: RETURNS VOID AS $$ ^ Warning: ERROR: unterminated dollar-quoted string at or near "$$ LANGUAGE plpgsql" LINE 1: $$ LANGUAGE plpgsql ^ Warning: ERROR: unterminated dollar-quoted string at or near "$$ BEGIN UPDATE mkt.email_log SET clicked = TRUE, clicked_date = CURRENT_TIMESTAMP WHERE tracking_id = tracking_id_param AND (clicked = FALSE OR clicked IS NULL)" LINE 2: RETURNS VOID AS $$ ^ Warning: ERROR: unterminated dollar-quoted string at or near "$$ LANGUAGE plpgsql" LINE 1: $$ LANGUAGE plpgsql ^ Step 2: Migrating data... Done. Rows migrated: Array ( [email_log] => 0 [reengagement_queue] => 0 [lead_magnet_signups] => 0 [log_social_media] => 127 ) Next: run php scripts/sql/drop-mkt-elsewhere.php to remove mkt from other hosts.