From fe81686f0bdecd87a943d6584661a1a9ab496f27 Mon Sep 17 00:00:00 2001 From: Pavlo Kulyk Date: Wed, 15 Apr 2026 15:42:03 +0300 Subject: [PATCH] fix: ensure square_meter is a number in seedDatabase function according to schema.prisma --- adminforth/documentation/docs/tutorial/001-gettingStarted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminforth/documentation/docs/tutorial/001-gettingStarted.md b/adminforth/documentation/docs/tutorial/001-gettingStarted.md index 26cda2d22..a38edf077 100644 --- a/adminforth/documentation/docs/tutorial/001-gettingStarted.md +++ b/adminforth/documentation/docs/tutorial/001-gettingStarted.md @@ -392,7 +392,7 @@ async function seedDatabase() { //diff-add title: `Apartment ${i}`, //diff-add - square_meter: (Math.random() * 100).toFixed(1), + square_meter: +(Math.random() * 100).toFixed(1), //diff-add price: (Math.random() * 10000).toFixed(2), //diff-add