Skip to main content

Database Schema

The Manage Rhino Group platform uses approximately 20 custom database tables across two plugins (Suma Management and Suma Harvest), plus a custom table for order volume monitoring.


Database Connection

  • Database Name: managerhinogroup
  • Table Prefix: wp_ (WordPress standard)
  • Charset: utf8
  • Cross-DB Access: OSTICKETS_DBNAME constant provides access to osTicket database

Suma Management Tables

suma_sites

The core table tracking all managed client sites. Contains 40+ columns.

ColumnTypeDescription
site_idintPrimary key (auto-increment)
namevarcharSite display name
urlvarcharSite URL
typeintSite type identifier
ssltinyintSSL certificate status
indexedtinyintGoogle indexing status
last_updatedatetimeLast sync timestamp
date_of_launchdateSite launch date
plugin_countintNumber of installed plugins
tiervarcharClient tier level
servervarcharHosting server name
proxyvarcharCDN/proxy configuration
debugtinyintWP_DEBUG enabled
ecommercetinyintHas e-commerce functionality
uptimevarcharUptimeRobot status
organizationvarcharClient organization name
accessibetinyintAccessibility widget installed
gtm_pathvarcharGoogle Tag Manager path
cf_zone_idvarcharCloudflare zone identifier
contact_urlvarcharSite contact page URL
wpcrontinyintWP Cron status
h1tinyintH1 tag verification
readonlytinyintRead-only mode flag
admin_urlvarcharCustom admin URL
shop_admin_urlvarcharShop admin URL (BigCommerce)
archivedtinyintArchive status (0=active, 1=archived)
devtinyintDevelopment site flag
platformsvarcharPlatform type (WordPress, BigCommerce, etc.)
google_analyticsvarcharGA tracking status

suma_cost

Master cost/license database.

ColumnTypeDescription
idintPrimary key
namevarcharPlugin/service name
friendly_namevarcharDisplay name
pricedecimalAnnual price
costdecimalActual cost
paidtinyintPayment status
typeintFK to suma_cost_type
keyvarcharLicense key
purchase_datedatePurchase/renewal date
notestextAdditional notes
urlvarcharVendor URL
auto_renewtinyintAuto-renewal enabled
platformintFK to suma_platforms
user_addedintStaff who added the record

suma_cost_on_site

Junction table linking costs to sites.

ColumnTypeDescription
idintPrimary key
site_idintFK to suma_sites
plugin_idintFK to suma_cost
versionvarcharInstalled version
keyvarcharSite-specific license key
purchase_datedateSite-specific purchase date
pricedecimalSite-specific price
activetinyintCurrently active on site
archive_datedateWhen removed from site

suma_cost_type

Cost category definitions.

ColumnTypeDescription
idintPrimary key
namevarcharType name (Plugin, Theme, Service, etc.)

suma_cost_type_of_payment

Payment type definitions.

ColumnTypeDescription
idintPrimary key
namevarcharPayment type (Free, Paid, Freemium, etc.)

suma_license_mapping

Maps licenses (CPT) to cost records.

ColumnTypeDescription
idintPrimary key
license_idintFK to WordPress post (License CPT)
cost_idintFK to suma_cost

suma_platforms

Platform type definitions.

ColumnTypeDescription
idintPrimary key
namevarcharPlatform name (WordPress, BigCommerce, Shopify, etc.)

suma_repos

Git repository tracking.

ColumnTypeDescription
idintPrimary key
uuidvarcharRepository UUID (Bitbucket)
namevarcharRepository name
full_namevarcharFull repository path (org/repo)

suma_git_status

Developer commit tracking and activity.

ColumnTypeDescription
idintPrimary key
usernamevarcharBitbucket username
issuesintOpen issues count
last_updateddatetimeLast activity timestamp
namevarcharDisplay name
typevarcharUser type

suma_cron

Background job queue for site updates.

ColumnTypeDescription
idintPrimary key
siteintFK to suma_sites.site_id
datedatetimeScheduled execution time

suma_site_report

Site audit report storage.

ColumnTypeDescription
idintPrimary key
site_idintFK to suma_sites
report_datalongtextJSON report content
createddatetimeReport generation date

suma_logs

Activity and event logging.

ColumnTypeDescription
idintPrimary key
site_idintFK to suma_sites
actionvarcharAction performed
datatextAction details
createddatetimeEvent timestamp

suma_vulnerabilities

Master vulnerability database (from Jetpack Protect).

ColumnTypeDescription
idintPrimary key
titlevarcharVulnerability title
descriptiontextFull description
severityvarcharSeverity level
sourcevarcharReporting source

suma_vulnerabilities_site

Site-specific vulnerability records.

ColumnTypeDescription
idintPrimary key
vulnerability_idintFK to suma_vulnerabilities
site_idintFK to suma_sites
statusvarcharCurrent status (active, fixed)
detected_atdatetimeFirst detection
fixed_atdatetimeResolution date

suma_wpengine

WP Engine server install data.

ColumnTypeDescription
idintPrimary key
namevarcharInstall name
cnamevarcharCNAME record
phpvarcharPHP version
environmentvarcharEnvironment type
primary_domainvarcharPrimary domain
is_multisitetinyintMultisite flag

suma_server_domain_mapping

Domain-to-server mapping table.

ColumnTypeDescription
idintPrimary key
domainvarcharDomain name
servervarcharServer name
typeintDomain type (1=production, 2=staging, 3=development)
primarytinyintPrimary domain flag
basic_authtinyintBasic auth detected

Suma Harvest Tables

harvest_client

Harvest client records.

ColumnTypeDescription
idintHarvest client ID (primary key)
namevarcharClient name

harvest_project

Harvest project data.

ColumnTypeDescription
idintHarvest project ID (primary key)
namevarcharProject name
client_idintFK to harvest_client
budgetdecimalTotal budget hours
budget_byvarcharBudget type: project or task
time_useddecimalTotal time logged
archivedtinyintArchive status

harvest_task

Task definitions.

ColumnTypeDescription
idintHarvest task ID (primary key)
namevarcharTask name

harvest_task_assignment

Task-to-project assignments with budget.

ColumnTypeDescription
idintTask assignment ID (primary key)
project_idintFK to harvest_project
task_idintFK to harvest_task
billabletinyintBillable flag
hourly_ratedecimalBilling rate
budgetdecimalTask-level budget hours
time_useddecimalTotal time on this task

harvest_user

Harvest team members.

ColumnTypeDescription
idintHarvest user ID (primary key)
namevarcharUser name
emailvarcharUser email

harvest_time_entry

Individual time log entries.

ColumnTypeDescription
idintHarvest entry ID (primary key)
project_idintFK to harvest_project
task_assignment_idintFK to harvest_task_assignment
user_idintFK to harvest_user
hoursdecimalHours logged
notestextEntry notes
spent_datedateDate worked
updated_atdatetimeLast modified

harvest_milestone

Budget threshold alert definitions.

ColumnTypeDescription
idintPrimary key
kindvarcharType: project or task
calculationvarcharOperator (e.g., greater_than_or_equal_to)
valueintPercentage threshold

harvest_milestone_history

Tracks which milestone alerts have been sent.

ColumnTypeDescription
idintPrimary key
milestone_idintFK to harvest_milestone
project_idintFK to harvest_project
task_idintFK to harvest_task (0 for project-level)
sent_atdatetimeAlert sent timestamp

teams_webhooks

Microsoft Teams webhook URLs per Harvest user.

ColumnTypeDescription
idintPrimary key
user_idintHarvest user ID
urltextTeams incoming webhook URL

Order Volume Monitor Table

wp_order_volume_monitor_log

Order monitoring test results.

ColumnTypeDescription
idbigintPrimary key
timestampdatetimeTest execution time
site_namevarchar(255)Monitored site name
statusvarchar(50)Result: SUCCESS or FAILURE
messagetextDetail message

Key Relationships

suma_sites ─────┬──── suma_cost_on_site ──── suma_cost
│ │
│ └── suma_cost_type
│ └── suma_cost_type_of_payment

├──── suma_vulnerabilities_site ──── suma_vulnerabilities

├──── suma_logs
├──── suma_site_report
├──── suma_cron
└──── suma_server_domain_mapping

harvest_project ─┬── harvest_client
├── harvest_task_assignment ─── harvest_task
│ └── harvest_time_entry ─── harvest_user
└── harvest_milestone_history ─── harvest_milestone

WordPress Options (Key Settings)

Option KeyPluginPurpose
suma_pinecone_api_keyManagementPinecone authentication
suma_pinecone_hostManagementPinecone index host URL
suma_pinecone_namespaceManagementVector namespace (manage-rhinogroup)
suma_pinecone_auto_syncManagementAuto-sync on site updates
harvest_projects_to_excludeHarvestACF option: projects to skip
harvest_projects_to_includeHarvestACF option: projects to show
number_of_devsHarvestDeveloper count for capacity calc
suma-gemini_api_keyGeminiGemini API key
suma-gemini_modelGeminiDefault AI model
suma-gemini_urgency_modelGeminiModel for urgency analysis
suma-gemini_rate_limitGeminiMax requests per window
sites_to_monitorOrder VolumeACF repeater: monitored sites