You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,6 @@ using your regular `tsconfig.json`
12
12
Do however note that this has no effect on generating new migrations.
13
13
Using `db-migrate create FooMigrations.ts` will not create a TypeScript migration file.
14
14
15
-
## Immplementation Detail
15
+
## Implementation Detail
16
16
17
17
The plugin hooks into the functionality of `db-migrate` itself. In this case it hooks into `migrator:migration:hook:require`, which in this case requires another transpiler (TypeScript) and registers also a new file extension (.ts). Make sure to name your migrations accordingly (ending with .ts).
0 commit comments