Skip to content

Commit

Permalink
Merge pull request #4 from AthennaIO/develop
Browse files Browse the repository at this point in the history
refactor(configurer): use migration file
  • Loading branch information
jlenon7 authored May 17, 2024
2 parents 958f484 + 69b22f9 commit f6bc10c
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 f6bc10c

Please sign in to comment.