Command Info

Name: mongo:migrate-id-fields

Description: Migrate existing MongoDB documents that have both _id and id fields for Laravel 12 compatibility

Status: completed

Start Time: 2025-05-26 14:43:38

End Time: 2025-05-26 14:43:41

Total Time: 3 seconds

Dispatched Jobs Count: 0

Successful Jobs Count: 0

Failed Jobs Count: 0

Output

14:43:38 Starting MongoDB ID fields migration...
14:43:38 Processing collection: google_analytics_active_users
14:43:38 No documents with both _id and id fields found in google_analytics_active_users
14:43:38 Processing collection: google_analytics_properties
14:43:38 Found 18 documents to migrate in google_analytics_properties
14:43:38 Processed 100/18 documents...
14:43:38 Updated 18 documents in google_analytics_properties
14:43:38 Processing collection: google_crux_reports
14:43:38 No documents with both _id and id fields found in google_crux_reports
14:43:38 Processing collection: accuranker_domains
14:43:38 No documents with both _id and id fields found in accuranker_domains
14:43:38 Processing collection: accuranker_keywords
14:43:38 No documents with both _id and id fields found in accuranker_keywords
14:43:38 Processing collection: ahrefs_backlinks
14:43:38 No documents with both _id and id fields found in ahrefs_backlinks
14:43:38 Processing collection: ahrefs_backlinks_stats
14:43:38 No documents with both _id and id fields found in ahrefs_backlinks_stats
14:43:38 Processing collection: ahrefs_domain_rating_history
14:43:38 No documents with both _id and id fields found in ahrefs_domain_rating_history
14:43:38 Processing collection: ahrefs_metrics_history
14:43:38 No documents with both _id and id fields found in ahrefs_metrics_history
14:43:38 Processing collection: ahrefs_outlinks_stats
14:43:38 No documents with both _id and id fields found in ahrefs_outlinks_stats
14:43:38 Processing collection: ahrefs_request_cost
14:43:38 No documents with both _id and id fields found in ahrefs_request_cost
14:43:38 Processing collection: ahrefs_request_error
14:43:38 No documents with both _id and id fields found in ahrefs_request_error
14:43:38 Processing collection: ahrefs_total_search_volume
14:43:38 No documents with both _id and id fields found in ahrefs_total_search_volume
14:43:38 Processing collection: ahrefs_update_frequency
14:43:38 No documents with both _id and id fields found in ahrefs_update_frequency
14:43:38 Processing collection: dns_records
14:43:38 No documents with both _id and id fields found in dns_records
14:43:38 Processing collection: google_accounts
14:43:38 No documents with both _id and id fields found in google_accounts
14:43:38 Processing collection: google_page_speed_insights
14:43:38 Found 584 documents to migrate in google_page_speed_insights
14:43:39 Processed 100/584 documents...
14:43:39 Processed 200/584 documents...
14:43:40 Processed 300/584 documents...
14:43:40 Processed 400/584 documents...
14:43:41 Processed 500/584 documents...
14:43:41 Processed 600/584 documents...
14:43:41 Updated 600 documents in google_page_speed_insights
14:43:41 Processing collection: hosting_providers
14:43:41 No documents with both _id and id fields found in hosting_providers
14:43:41 Processing collection: ip_info
14:43:41 No documents with both _id and id fields found in ip_info
14:43:41 Processing collection: issues
14:43:41 No documents with both _id and id fields found in issues
14:43:41 Processing collection: jobs
14:43:41 No documents with both _id and id fields found in jobs
14:43:41 Processing collection: main_wp_site_data
14:43:41 No documents with both _id and id fields found in main_wp_site_data
14:43:41 Processing collection: nameservers
14:43:41 No documents with both _id and id fields found in nameservers
14:43:41 Processing collection: options
14:43:41 No documents with both _id and id fields found in options
14:43:41 Processing collection: ovh_servers
14:43:41 No documents with both _id and id fields found in ovh_servers
14:43:41 Processing collection: registrars
14:43:41 No documents with both _id and id fields found in registrars
14:43:41 Processing collection: remote_desktops
14:43:41 No documents with both _id and id fields found in remote_desktops
14:43:41 Processing collection: runcloud_backups
14:43:41 No documents with both _id and id fields found in runcloud_backups
14:43:41 Processing collection: runcloud_backup_snapshots
14:43:41 No documents with both _id and id fields found in runcloud_backup_snapshots
14:43:41 Processing collection: runcloud_cron_jobs
14:43:41 Found 17 documents to migrate in runcloud_cron_jobs
14:43:41 Processed 100/17 documents...
14:43:41 Updated 17 documents in runcloud_cron_jobs
14:43:41 Processing collection: runcloud_domains
14:43:41 Found 33 documents to migrate in runcloud_domains
14:43:41 Processed 100/33 documents...
14:43:41 Updated 33 documents in runcloud_domains
14:43:41 Processing collection: runcloud_hub_settings
14:43:41 Found 7 documents to migrate in runcloud_hub_settings
14:43:41 Processed 100/7 documents...
14:43:41 Updated 7 documents in runcloud_hub_settings
14:43:41 Processing collection: runcloud_servers
14:43:41 No documents with both _id and id fields found in runcloud_servers
14:43:41 Processing collection: runcloud_server_hardware_info
14:43:41 No documents with both _id and id fields found in runcloud_server_hardware_info
14:43:41 Processing collection: runcloud_server_health
14:43:41 No documents with both _id and id fields found in runcloud_server_health
14:43:41 Processing collection: runcloud_ssl_certificates
14:43:41 Found 5 documents to migrate in runcloud_ssl_certificates
14:43:41 Processed 100/5 documents...
14:43:41 Updated 5 documents in runcloud_ssl_certificates
14:43:41 Processing collection: runcloud_web_applications
14:43:41 No documents with both _id and id fields found in runcloud_web_applications
14:43:41 Processing collection: runcloud_web_application_settings
14:43:41 No documents with both _id and id fields found in runcloud_web_application_settings
14:43:41 Processing collection: stake_postback_requests
14:43:41 No documents with both _id and id fields found in stake_postback_requests
14:43:41 Processing collection: updown_checks
14:43:41 No documents with both _id and id fields found in updown_checks
14:43:41 Processing collection: uptime_keywords
14:43:41 No documents with both _id and id fields found in uptime_keywords
14:43:41 Processing collection: user_actions
14:43:41 No documents with both _id and id fields found in user_actions
14:43:41 Processing collection: websites
14:43:41 No documents with both _id and id fields found in websites
14:43:41 Processing collection: website_seo_data
14:43:41 No documents with both _id and id fields found in website_seo_data
14:43:41 Processing collection: whois_data
14:43:41 No documents with both _id and id fields found in whois_data
14:43:41 Migration completed! Total documents updated: 680
14:43:41 You can now run your original command: php artisan kokos-analytics:get-google-analytics-data