Skip to content

Commit

Permalink
Fix migration resolution path (#10188)
Browse files Browse the repository at this point in the history
### WHY are these changes introduced?

Fixes a bug with how the migration resolution path is created

### WHAT is this pull request doing?

This update resolves migrations from `<migration-name>/transform.js`

Co-authored-by: Aaron Casanova <32409546+aaronccasanova@users.noreply.github.com>
  • Loading branch information
aveline and aaronccasanova committed Aug 23, 2023
1 parent 7891c7e commit 5401f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polaris-migrator/src/migrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export async function migrate(
) {
const migrationFile = path.join(
__dirname,
`./migrations/${migration}/${migration}.js`,
`./migrations/${migration}/transform.js`,
);

try {
Expand Down

0 comments on commit 5401f4d

Please sign in to comment.