# Fluent Forms Database Schema

Fluent Forms Core Advanced

Fluent Forms use custom database tables with options tables to store all the data. Here are the list of database tables, and it's schema to understand overall database design and related data attributes of each model.

# Schema Design

Fluent Forms Schema Design

# Database Tables

# fluentform_forms

This table store the fields and settings of a form.

ColumnTypeComment
idint unsigned Auto Increment
titlevarchar(255)
statusvarchar(45) NULL [Draft]
appearance_settingstext NULL
form_fieldslongtext NULL
has_paymenttinyint(1) [0]
typevarchar(45) NULL
conditionstext NULL
created_byint NULL
created_attimestamp NULL
updated_attimestamp NULL

# fluentform_submissions

Storing the form submissions

ColumnTypeComment
idbigint unsigned Auto Increment
form_idint unsigned NULL
serial_numberint unsigned NULL
responselongtext NULL
source_urlvarchar(255) NULL
user_idint unsigned NULL
statusvarchar(45) NULL [unread]possible values: read, unread, trashed
is_favouritetinyint(1) [0]
browservarchar(45) NULL
devicevarchar(45) NULL
ipvarchar(45) NULL
cityvarchar(45) NULL
countryvarchar(45) NULL
payment_statusvarchar(45) NULL
payment_methodvarchar(45) NULL
payment_typevarchar(45) NULL
currencyvarchar(45) NULL
payment_totalfloat NULL
total_paidfloat NULL
created_attimestamp NULL
updated_attimestamp NULL

# ff_scheduled_actions

Storing the scheduled actions details

ColumnTypeComment
idbigint unsigned Auto Increment
actionvarchar(255) NULL
form_idbigint unsigned NULL
origin_idbigint unsigned NULL
feed_idbigint unsigned NULL
typevarchar(255) NULL [submission_action]
statusvarchar(255) NULL
datalongtext NULL
notetinytext NULL
retry_countint unsigned NULL [0]
created_attimestamp NULL
updated_attimestamp NULL

# fluentform_coupons

Storing coupon data

ColumnTypeComment
idint Auto Increment
titlevarchar(192) NULL
codevarchar(192) NULL
coupon_typevarchar(255) NULL [percent]
amountdecimal(10,2) NULL
statusvarchar(192) NULL [active]
stackablevarchar(192) NULL [no]
settingslongtext NULL
created_byint NULL
min_amountint NULL
max_useint NULL
start_datedate NULL
expire_datedate NULL
created_attimestamp NULL
updated_attimestamp NULL

# fluentform_draft_submissions

Draft submission for saved form state and multi step forms.

ColumnTypeComment
idbigint unsigned Auto Increment
form_idint unsigned NULL
hashvarchar(255)
typevarchar(255) NULL [step_data]
step_completedint unsigned
user_idint unsigned
responselongtext NULL
source_urlvarchar(255) NULL
browservarchar(45) NULL
devicevarchar(45) NULL
ipvarchar(45) NULL
created_attimestamp NULL
updated_attimestamp NULL

# fluentform_entry_details

Submission Entry Details

ColumnTypeComment
idbigint unsigned Auto Increment
form_idbigint unsigned NULL
submission_idbigint unsigned NULL
field_namevarchar(255) NULL
sub_field_namevarchar(255) NULL
field_valuelongtext NULL

# fluentform_form_analytics

Form analytics data

ColumnTypeComment
idint unsigned Auto Increment
form_idint unsigned NULL
user_idint unsigned NULL
source_urlvarchar(255)
platformchar(30) NULL
browserchar(30) NULL
cityvarchar(100) NULL
countryvarchar(100) NULL
ipchar(15) NULL
countint NULL [1]
created_attimestamp NULL

# fluentform_form_meta

Fluent Form meta data

ColumnTypeComment
idint unsigned Auto Increment
form_idint unsigned NULL
meta_keyvarchar(255)
valuelongtext NULL

# fluentform_logs

Store Form activity & api log

ColumnTypeComment
idint unsigned Auto Increment
parent_source_idint unsigned NULL
source_typevarchar(255) NULL
source_idint unsigned NULL
componentvarchar(255) NULL
statuschar(30) NULL
titlevarchar(255)
descriptionlongtext NULL
created_attimestamp NULL

# fluentform_order_items

Fluent Form Payment order Items

ColumnTypeComment
idint Auto Increment
form_idint
submission_idint
typevarchar(255) NULL [single]
parent_holdervarchar(255) NULL
billing_intervalvarchar(255) NULL
item_namevarchar(255) NULL
quantityint NULL [1]
item_priceint NULL
line_totalint NULL
created_attimestamp NULL
updated_attimestamp NULL

# fluentform_submission_meta

Form Submission meta

ColumnTypeComment
idbigint unsigned Auto Increment
response_idbigint unsigned NULL
form_idint unsigned NULL
meta_keyvarchar(45) NULL
valuelongtext NULL
statusvarchar(45) NULL
user_idint unsigned NULL
namevarchar(45) NULL
created_attimestamp NULL
updated_attimestamp NULL

# fluentform_subscriptions

Payment Subscriptions

ColumnTypeComment
idint Auto Increment
submission_idint NULL
form_idint NULL
payment_totalint NULL [0]
item_namevarchar(255) NULL
plan_namevarchar(255) NULL
parent_transaction_idint NULL
billing_intervalvarchar(50) NULL
trial_daysint NULL
initial_amountint NULL
quantityint NULL [1]
recurring_amountint NULL
bill_timesint NULL
bill_countint NULL [0]
vendor_customer_idvarchar(255) NULL
vendor_subscription_idvarchar(255) NULL
vendor_plan_idvarchar(255) NULL
statusvarchar(255) NULL [pending]
initial_tax_labelvarchar(255) NULL
initial_taxint NULL
recurring_tax_labelvarchar(255) NULL
recurring_taxint NULL
element_idvarchar(255) NULL
notetext NULL
original_plantext NULL
vendor_responselongtext NULL
expiration_attimestamp NULL
created_attimestamp NULL
updated_attimestamp NULL

# fluentform_transactions

Payment Transactions

ColumnTypeComment
idint Auto Increment
transaction_hashvarchar(255) NULL
payer_namevarchar(255) NULL
payer_emailvarchar(255) NULL
billing_addressvarchar(255) NULL
shipping_addressvarchar(255) NULL
form_idint
user_idint NULL
submission_idint NULL
subscription_idint NULL
transaction_typevarchar(255) NULL [onetime]
payment_methodvarchar(255) NULL
card_last_4int NULL
card_brandvarchar(255) NULL
charge_idvarchar(255) NULL
payment_totalint NULL [1]
statusvarchar(255) NULL
currencyvarchar(255) NULL
payment_modevarchar(255) NULL
payment_notelongtext NULL
created_attimestamp NULL
updated_attimestamp NULL