Skip to content

Database Models

The FluentCommunity ORM layer is built on WPFluent and Eloquent-style models. The list below covers every first-party model in app/Models/, including the shared base Model wrapper used by the package.

ModelTableNotes
Activityfcom_user_activitiesTracks member-facing activity stream entries such as feed publications and comments.
BaseSpacefcom_spacesProvides the shared ORM behavior for spaces, courses, space groups, and sidebar links.
Commentfcom_post_commentsStores feed comments, threaded replies, and their moderation-aware relationships.
Contactfc_subscribersBridges FluentCommunity users to FluentCRM contact records when FluentCRM is installed.
DynamicModelInherited / runtime-definedCreates runtime table bindings when FluentCommunity needs an ORM model for a dynamic table.
Feedfcom_postsRepresents community posts, announcements, scheduled posts, and other feed content.
Mediafcom_media_archiveStores uploaded media metadata and delivery information for feeds, comments, and spaces.
Metafcom_metaBacks the shared meta table used across spaces, terms, users, and other object types.
ModelInherited / runtime-definedDefines the shared base ORM behavior inherited by FluentCommunity models built on WPFluent.
Notificationfcom_notificationsStores notification payloads before they are fanned out to per-user delivery rows.
NotificationSubscriberfcom_notification_usersRepresents rows in fcom_notification_users where object_type = notification.
NotificationSubscriptionfcom_notification_usersRepresents rows in fcom_notification_users where object_type = subscription.
Reactionfcom_post_reactionsStores likes and survey votes for feeds, comments, and course content.
SidebarLinkfcom_spacesUses the shared spaces table to store custom sidebar navigation links.
Spacefcom_spacesRepresents a community space with privacy, membership, topic, and layout settings.
SpaceGroupfcom_spacesRepresents hierarchical group containers for organizing spaces on the portal.
SpaceUserPivotfcom_space_userStores the membership, role, and membership metadata for users inside spaces.
Termfcom_termsStores taxonomy-like topics, categories, and term metadata used by feeds and courses.
UserusersWraps the WordPress users table with community-specific relationships and helpers.
UserMetausermetaWraps the WordPress usermeta table for community-focused metadata access.
XProfilefcom_xprofileStores public-facing profile fields, status, verification, and community profile metadata.

FluentCommunity developer documentation