ljlm0402 / typescript-express-starter

πŸ“˜ Quick and Easy TypeScript Express Starter
http://npm.im/typescript-express-starter
MIT License
2.68k stars 411 forks source link

Fix for knex template migration errors #244

Open roycechua opened 6 months ago

roycechua commented 6 months ago

Content (μž‘μ—… λ‚΄μš©) πŸ“

Minor PR for the template created with knex

  1. Fix for knex migration error - missing client configuration error
  2. Fix for invalid migration file error - must have both an up and down function

Screenshot for work content (μž‘μ—… λ‚΄μš© μŠ€ν¬λ¦°μƒ·) πŸ“Έ

Fixes for the following errors on initial migration from newly generated template using knex

Screenshot 2024-02-27 at 9 17 29β€―PM

Screenshot 2024-02-27 at 9 17 49β€―PM

After PR

Screenshot 2024-02-27 at 9 18 06β€―PM

Links (링크) πŸ”—

Check List (체크 사항) βœ…

eboujobe commented 6 months ago

@ljlm0402 can we please have this PR in?