From efe12b85ceca91eaa4a68d1ce53ef7f7966635ba Mon Sep 17 00:00:00 2001 From: Elad Kaplan Date: Thu, 23 Jan 2025 15:50:16 +0200 Subject: [PATCH] more changes --- .github/workflows/loco-gen-e2e.yml | 4 ++-- docs-site/content/docs/the-app/models.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/loco-gen-e2e.yml b/.github/workflows/loco-gen-e2e.yml index 91eb1e4d4..24155bbc3 100644 --- a/.github/workflows/loco-gen-e2e.yml +++ b/.github/workflows/loco-gen-e2e.yml @@ -220,8 +220,8 @@ jobs: run: | cargo run -- generate scaffold --api room \ uuid_uniq:uuid \ - uuid_null:uuid_col \ - uuid:uuid_col! \ + uuid_null:uuid \ + uuid:uuid! \ string_null:string \ string:string! \ string_uniq:string^ \ diff --git a/docs-site/content/docs/the-app/models.md b/docs-site/content/docs/the-app/models.md index cd026a250..abcaa0253 100644 --- a/docs-site/content/docs/the-app/models.md +++ b/docs-site/content/docs/the-app/models.md @@ -129,9 +129,9 @@ These fields are ignored if you provide them in your migration command. For schema data types, you can use the following mapping to understand the schema: ```rust -("uuid", "uuid_uniq"), -("uuid_col", "uuid_null"), -("uuid_col!", "uuid"), +("uuid^", "uuid_uniq"), +("uuid", "uuid_null"), +("uuid!", "uuid"), ("string", "string_null"), ("string!", "string"), ("string^", "string_uniq"),