From 9c5733430da61fe5957bf0a7670fd43aaf7de330 Mon Sep 17 00:00:00 2001 From: Kwanghyun On Date: Mon, 28 Oct 2024 13:34:29 +0900 Subject: [PATCH] Remove migrate:generate npm command --- CONTRIBUTING.md | 4 ++-- package.json | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index ae292a9..f9b8db8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -48,7 +48,7 @@ To update the database schema: 2. After making changes, run the following command to generate migration files: ``` - npm run migrate:generate + npx drizzle-kit generate --name ``` 3. Review the generated migration files in the `drizzle` directory. @@ -70,7 +70,7 @@ We recommend creating a single migration file for each change. To squash multipl 4. Run the migration generation command again to create a final, consolidated migration file: ``` - npm run migrate:generate + npx drizzle-kit generate --name ``` This process ensures a clean and organized migration history. diff --git a/package.json b/package.json index 38607be..39b8750 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "lint:fix": "(prettier --write --cache --cache-strategy content --cache-location node_modules/.cache/.prettiercache .) && (eslint --fix .)", "type:check": "tsc --noEmit", "test": "jest", - "migrate:generate": "npx drizzle-kit generate", "migrate:compile": "node compile-migration.js" }, "keywords": [],