9 Commits

Author SHA1 Message Date
Oli
af0e9c1650
Import knex as type in TS migration template (#5741)
Co-authored-by: Igor Savin <iselwin@gmail.com>
2023-11-28 02:16:50 +02:00
Richard
ab45314e70
Add JSDoc (TS Flavour) to mjs stub file (#5390) 2022-11-23 09:14:14 +01:00
Dominic Vonk
a4df3e3540
Implement extendable builders (#5041)
Co-authored-by: Olivier Cavadenti <olivier.cavadenti@gmail.com>
2022-05-17 13:07:26 +03:00
tharrison4815
452104066b
Add type to typescript knexfile (#4909) 2021-12-30 23:46:22 +02:00
windupbird144
3aadaead91
Resolves #4583 Add JSDoc (TS flavor) to stub files (#4809) 2021-11-06 10:43:04 +01:00
Thomas Hunter II
e469766689
adding .mjs migration and seed stubs (#4631) 2021-08-21 21:34:30 +03:00
Santi Albo
548471de0a
fix TypeScript migration stub after 0.95.0 changes (#4366)
* fix TypeScript migration stub after 0.95.0 changes

Release 0.95.0 changed how types have to be imported when using TypeScript. This PR fixes the migration stub so new migrations are created correctly.

* Add test for Knex.AlterTableBuilder

Co-authored-by: Igor Savin <iselwin@gmail.com>
2021-03-11 19:58:00 +02:00
Jakub Jastrzębski
5d1f479593
fix: update ts.stub files to new TypeScript namespace (#4344) 2021-03-11 18:51:53 +02:00
Igor Savin
2aec21ed5e
Try to introduce some organization into how files are grouped (#4178) 2020-12-28 16:55:08 +02:00