From b96fdb96067ef709ae8b0849b6ad6f951dffe683 Mon Sep 17 00:00:00 2001 From: Monish Date: Sun, 12 May 2024 15:37:34 +0530 Subject: [PATCH 1/2] Fixed a typo in documentation in Database.md From: `Each file an migrations folder need` To: `Each file in migrations folder need` Signed-off-by: Monish --- docs/Guides/Database.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Guides/Database.md b/docs/Guides/Database.md index 8bee111904..1e2c9e0db1 100644 --- a/docs/Guides/Database.md +++ b/docs/Guides/Database.md @@ -245,7 +245,7 @@ for Postgres, MySQL, SQL Server and SQLite. For MongoDB migrations, please check #### [Postgrator](https://www.npmjs.com/package/postgrator) Postgrator is Node.js SQL migration tool that uses a directory of SQL scripts to -alter the database schema. Each file an migrations folder need to follow the +alter the database schema. Each file in migrations folder need to follow the pattern: ` [version].[action].[optional-description].sql`. **version:** must be an incrementing number (e.g. `001` or a timestamp). From 73c042787a0c1ae10747fb7baa0f1a07c8c07027 Mon Sep 17 00:00:00 2001 From: Monish Date: Sun, 12 May 2024 23:59:49 +0530 Subject: [PATCH 2/2] Update docs/Guides/Database.md Co-authored-by: Frazer Smith Signed-off-by: Monish --- docs/Guides/Database.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Guides/Database.md b/docs/Guides/Database.md index 1e2c9e0db1..3369b33498 100644 --- a/docs/Guides/Database.md +++ b/docs/Guides/Database.md @@ -245,7 +245,7 @@ for Postgres, MySQL, SQL Server and SQLite. For MongoDB migrations, please check #### [Postgrator](https://www.npmjs.com/package/postgrator) Postgrator is Node.js SQL migration tool that uses a directory of SQL scripts to -alter the database schema. Each file in migrations folder need to follow the +alter the database schema. Each file in a migrations folder need to follow the pattern: ` [version].[action].[optional-description].sql`. **version:** must be an incrementing number (e.g. `001` or a timestamp).