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.
| Model | Table | Notes |
|---|---|---|
Activity | fcom_user_activities | Tracks member-facing activity stream entries such as feed publications and comments. |
BaseSpace | fcom_spaces | Provides the shared ORM behavior for spaces, courses, space groups, and sidebar links. |
Comment | fcom_post_comments | Stores feed comments, threaded replies, and their moderation-aware relationships. |
Contact | fc_subscribers | Bridges FluentCommunity users to FluentCRM contact records when FluentCRM is installed. |
DynamicModel | Inherited / runtime-defined | Creates runtime table bindings when FluentCommunity needs an ORM model for a dynamic table. |
Feed | fcom_posts | Represents community posts, announcements, scheduled posts, and other feed content. |
Media | fcom_media_archive | Stores uploaded media metadata and delivery information for feeds, comments, and spaces. |
Meta | fcom_meta | Backs the shared meta table used across spaces, terms, users, and other object types. |
Model | Inherited / runtime-defined | Defines the shared base ORM behavior inherited by FluentCommunity models built on WPFluent. |
Notification | fcom_notifications | Stores notification payloads before they are fanned out to per-user delivery rows. |
NotificationSubscriber | fcom_notification_users | Represents rows in fcom_notification_users where object_type = notification. |
NotificationSubscription | fcom_notification_users | Represents rows in fcom_notification_users where object_type = subscription. |
Reaction | fcom_post_reactions | Stores likes and survey votes for feeds, comments, and course content. |
SidebarLink | fcom_spaces | Uses the shared spaces table to store custom sidebar navigation links. |
Space | fcom_spaces | Represents a community space with privacy, membership, topic, and layout settings. |
SpaceGroup | fcom_spaces | Represents hierarchical group containers for organizing spaces on the portal. |
SpaceUserPivot | fcom_space_user | Stores the membership, role, and membership metadata for users inside spaces. |
Term | fcom_terms | Stores taxonomy-like topics, categories, and term metadata used by feeds and courses. |
User | users | Wraps the WordPress users table with community-specific relationships and helpers. |
UserMeta | usermeta | Wraps the WordPress usermeta table for community-focused metadata access. |
XProfile | fcom_xprofile | Stores public-facing profile fields, status, verification, and community profile metadata. |