From 488c221b3ee877064d142910081795c8521f2fcc Mon Sep 17 00:00:00 2001 From: Marek 'seqre' Grzelak Date: Tue, 4 Mar 2025 20:00:02 +0100 Subject: [PATCH] docs: update migrations command to match new cli version --- src/md-pages/db-models.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/md-pages/db-models.md b/src/md-pages/db-models.md index b0d513c..5822426 100644 --- a/src/md-pages/db-models.md +++ b/src/md-pages/db-models.md @@ -32,7 +32,7 @@ There's some very useful stuff going on here, so let's break it down: After putting this structure in your project, you can use it to interact with the database. Before you do that though, it's necessary to create the table in the database that corresponds to this model. Cot CLI has got you covered and can automatically create migrations for you – just run the following command: ```bash -cot make-migrations +cot migrations make ``` This will create a new file in your `migrations` directory in the crate's src directory. We will come back to the contents of this file later in this guide, but for now, let's focus on how to use the model to interact with the database.