Data models

Understanding Prequel models

What are data models?

In this documentation, a data model refers to the Prequel representation of the structured data to be transferred using Prequel. An individual data model usually represents a single table, though (depending on the source/destination) it may also refer to a JSON blob or other file format (e.g., Parquet, CSV).

A Prequel data model represents the data structure that is read from a source and written to a destination

A Prequel data model represents the data structure that is read from a source and written to a destination

Configuring your data model

For data to be synced to/from a destination/source, the data model must be configured so that Prequel can read and write the right data in the right format. Configuration covers a few important considerations:

  • Selecting data: selecting the right data for a given destination
  • Transforming data: specifying the correct format of the data
  • Typing data: specifying the destination type of the data
  • Detecting changes: after the first sync, only transferring updated data

πŸ“˜

Configure your data model

  • Create one model file per table to be transferred, and store them in your connected repository. To link your GitHub repository, refer to the documentation.

Grouping data models into products

By default, every destination you add to Prequel will be sent all configured models. Products allow you to only send a subset of those models to destinations.


What’s Next