Skip to content

Commit

Permalink
Rename migrations folder
Browse files Browse the repository at this point in the history
  • Loading branch information
mapeveri committed Oct 1, 2024
1 parent 344e99d commit 55880f2
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
node: true,
},
plugins: ['@typescript-eslint', 'prettier'],
ignorePatterns: ['migrations/', 'mikroorm-migrations/'],
ignorePatterns: ['migrations/'],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
rules: {
'no-undef': ['error', { typeof: true }],
Expand Down
2 changes: 1 addition & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
src/languages/app/mikroorm-migrations/.snapshot-languages.json
src/languages/app/migrations/.snapshot-languages.json
2 changes: 1 addition & 1 deletion src/shared/infrastructure/persistence/mikroOrm/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import path from 'path';
const env = loadEnv();
dotenvExpand.expand(env);

const migrationPath = '../../../../languages/app/mikroorm-migrations';
const migrationPath = '../../../../languages/app/migrations';

export default defineConfig({
entities: entitySchemas,
Expand Down

0 comments on commit 55880f2

Please sign in to comment.