Skip to content

Setting TTL on a Data Model Table

Fuuz Wiki Import edited this page Jun 7, 2026 · 2 revisions

Setting TTL on a Data Model / Table

Article Type: Reference Audience: Developers Module: Data Models

In designing solid applications, it is best practice to consider the data you'll be storing in Fuuz, and determine with your business users how long that data should be retained. In Fuuz you can do this by establishing appropriate TTLs on your data models using indices.

Instructions

  1. Open the Schema Designer
  2. Locate the data model you wish to apply TTL to — drag it out to the canvas and select it by clicking on it to highlight and expose the configuration panel on the right side of the designer canvas
  3. Scroll the panel down until you see Indices — expand this panel
  4. Click the + option to add a custom index
  5. Within the custom index, define the date field you wish to use as your baseline
  6. Set the TTL value (in seconds)
    • This is the amount of time, from the date/time in the date field you've selected, to effect the TTL
  7. Save and Deploy your changes

Note: You cannot set TTL on the pre-defined system indices; however, you can add your own custom indices (even for the same fields as the system-defined indices) and then set your TTL.

Indices panel in the Schema Designer

To recap:

  1. Open the Schema Designer
  2. Select the data model and drag it to the canvas
  3. Select the data model — expose the configuration panel — scroll to Indices
  4. Click +

Then:

Custom index TTL configuration

  1. Set the index name
  2. Set the TTL (seconds) — the example is 1 year
  3. Set the field to index on — the example is ["createdAt"]
  4. Save/Deploy your updates

See Also


Source: support.fuuz.com

🏠 Home

Getting Started (14)
Training Guides (52)

Applications

Access & Users

Data Models & Schema

Screens

Weather Lookup Series — guided 3-part build

Data Flows & Integrations

Data, Reporting & Monitoring

Enterprise & Organizations

Platform Concepts & Architecture (10)
Screens & Application Design (17)
Data Models & Schema (8)
Data Flows & Scripting (51)

Designing Flows

Data Flow Nodes

JSONata Reference

Scripting

Integrations & Connectors (30)

General & iPaaS

Plex

EDI

IIoT & Edge Gateway (18)

Physical Device Connectors

Edge Data Connectors

Reporting, Documents & Dashboards (8)
Administration & Access Control (27)
Data Management (8)
Accelerators, Templates & Packages (8)
Design Standards (1)
How-To Guides (8)
FAQ & Troubleshooting (1)
Release Notes (117)

2026

2025

2024

2023

2022

2021

2020

Policies & Company (6)

Clone this wiki locally