Skip to content

Commit

Permalink
Remove migrate:generate npm command
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-on committed Oct 28, 2024
1 parent f4a9b1d commit 9c57334
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <migration-name>
```

3. Review the generated migration files in the `drizzle` directory.
Expand All @@ -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 <migration-name>
```

This process ensures a clean and organized migration history.
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [],
Expand Down

0 comments on commit 9c57334

Please sign in to comment.