From a17a72d3139b0acf1c52e282b8719c795cfe9ac7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Kucha=C5=99?= <honza.kuchar@grifart.cz>
Date: Wed, 2 Dec 2020 17:19:28 +0100
Subject: [PATCH] Update migrate-to-composite-field.md

---
 docs/cookbook/migrate-to-composite-field.md | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/docs/cookbook/migrate-to-composite-field.md b/docs/cookbook/migrate-to-composite-field.md
index dd9b2ea..b2375ab 100644
--- a/docs/cookbook/migrate-to-composite-field.md
+++ b/docs/cookbook/migrate-to-composite-field.md
@@ -2,7 +2,7 @@
 
 Sometimes you start with table containing values, which you then see have dependency on each other. As happened with [Stamp object](https://gitlab.grifart.cz/ivy/server/-/merge_requests/222/diffs#note_69354) (originally named `auditTrail`).
 
-## 1. migrating database
+### 1. migrating database
 
 ```sql
 -- prepare new data type in PostgreSQL
@@ -27,6 +27,8 @@ ALTER TABLE "clinic"."patient"
 	DROP COLUMN "createdBy";
 ```
 
+### 2. Mapper
+
 And add mapping of new field. It is useful to use PostgreSQL tools for composite & array types. This helper class will provide you logic for (de)serializing these composite types into standard SQL query.
 
 ```php
@@ -49,4 +51,4 @@ And add mapping of new field. It is useful to use PostgreSQL tools for composite
 				);
 			},
 		);
-```
\ No newline at end of file
+```
-- 
GitLab