Timothy Ng
3764ded568
Add migration lifecycle hooks ( #5541 )
...
Co-authored-by: Raz Luvaton <16746759+rluvaton@users.noreply.github.com>
2024-01-13 21:16:28 +02:00
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
Kyler Nelson
daeec25173
Fix migrate:unlock when used with custom identifier wrapping. ( #5353 )
...
Co-authored-by: Matt Bailey <bailey.matthewr@gmail.com>
2023-07-19 23:07:19 +02:00
Igor Savin
9a6c5ba62f
Additional lint checks before publishing ( #5459 )
2023-01-22 16:13:24 +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
Victor Pontis
e171d61dad
Fix error message for missing migration files ( #4937 )
2022-01-17 10:56:15 +02:00
tharrison4815
452104066b
Add type to typescript knexfile ( #4909 )
2021-12-30 23:46:22 +02:00
Olivier Cavadenti
540ab8c020
Insert lock row fix during migration ( #4865 )
2021-12-01 00:41:18 +01:00
Igor Savin
bd1c31a07e
Implement support for custom seed sources ( #4842 )
...
Co-authored-by: maximelkin <maxelkin@list.ru>
2021-11-27 02:23:31 +02:00
windupbird144
3aadaead91
Resolves #4583 Add JSDoc (TS flavor) to stub files ( #4809 )
2021-11-06 10:43:04 +01:00
Marceli Wac
22280c23f4
Refactor Migrator code and API to return list of migrations as objects consistently. ( #4745 )
2021-10-28 00:42:36 +03:00
Igor Savin
e6d5873cec
Fix migration locking for cockroachdb ( #4717 )
2021-10-10 02:07:56 +03:00
Stig-Erland Hansen
a54857ec3c
Avoid inserting multiple locks if a lock already exists ( #4694 )
2021-09-29 16:57:34 +03:00
michaelbrewerdavis
b5225179ce
fix migrate:up for migrations disabling transactions ( #4550 )
2021-08-31 23:05:35 +03: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
Richard Simko
489934655f
Fix for ES Module detection using npm@7 ( #4295 ) ( #4296 )
2021-02-15 19:10:45 +02:00
Igor Savin
2aec21ed5e
Try to introduce some organization into how files are grouped ( #4178 )
2020-12-28 16:55:08 +02:00