export const metadata = { title: `${pageNumber} Data Models Advanced Guides`, } # {metadata.title} Data models are created and managed in a module. To learn how to create a data model in a custom module, refer to the [Modules chapter](../modules/page.mdx). In the next chapters, you'll learn about defining data models in more details. You'll learn about: - The different property types available. - How to set a property as a primary key. - How to create and manage relationships. - How to configure properties, such as making them nullable or searchable. - How to manually write migrations.