Skip to content

Commit

Permalink
refactor(configurer): use migration file
Browse files Browse the repository at this point in the history
  • Loading branch information
jlenon7 committed May 17, 2024
1 parent e3914fb commit 69b22f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configurer/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class QueueConfigurer extends BaseConfigurer {
date = date.replace(/-/g, '_')
time = time.split('.')[0].replace(/:/g, '')

return new File('./queue').copy(
return new File('./migration').copy(
Path.migrations(`${date}_${time}_create_jobs_table.${Path.ext()}`)
)
})
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@athenna/queue",
"version": "4.2.0",
"version": "4.3.0",
"description": "The Athenna queue handler.",
"license": "MIT",
"author": "João Lenon <[email protected]>",
Expand Down

0 comments on commit 69b22f9

Please sign in to comment.