Igor Savin
1c65562440
Prepare 0.20.0 release
2019-10-25 20:17:26 +02:00
maximelkin
d01600ba0d
refactor(bluebird): remove Bluebird.bind ( #3477 )
2019-10-15 23:03:35 +02:00
maximelkin
531714804b
Use util.promisify instead of Bluebird.promisify ( #3470 )
2019-10-15 09:11:59 +02:00
Lorefnon
b0c0db601a
Fix some issues around seed and migration generation ( #3479 )
2019-10-13 13:19:53 +02:00
Nekrasov Ilya
6b9fb0ec01
disable_migrations_list_validation_feature ( #3448 )
2019-10-12 21:45:39 +02:00
maximelkin
f56eaf5cfc
Bluebird remove map mapSeries ( #3474 )
2019-10-11 10:12:56 +02:00
Taras Ozarko
7fabae9f56
Migrations up/down commands: filename parameter ( #3416 )
2019-10-06 18:00:04 +02:00
Ben Darnell
8f40f8d534
migrate: Refactor _lockMigrations to avoid forUpdate ( #3395 )
2019-08-28 13:27:18 +02:00
Vithalreddy.M.B
658e612148
knex cli list all migrations with status ( #3390 ) ( #3409 )
2019-08-24 12:01:12 +02:00
Ricardo Graça
9aa7085b05
Rename src directory to lib ( #3338 )
2019-07-10 23:48:43 +02:00
Mikael Lepistö
7140a48226
Remove generated lib from repository and run build in prepublish
2016-01-21 09:59:30 +02:00
Sky Morey
eed0004031
mssql: added top (?) back to fix that error. also removed loading of empty file
2015-12-15 16:48:19 -06:00
Mikael Lepistö
3dd5ac896a
npm run build (for changed file)
2015-12-15 21:50:17 +02:00
Dustin Martin
d9ac2c1f8f
Add status method
...
Returns 0 if all migrations are run and DB is up to date. Return negative number if DB is missing migrations. Return positive number if DB is ahead (rare case, e.g. if migrations were run then code is reverted)
2015-11-23 10:50:19 -06:00
Mikael Lepistö
e2eacc7d6e
Ran 'npm run build' since tape tests would not pass if build is not updated.
2015-11-10 23:27:26 +02:00
harriha
c41ffdb02a
Update lib/ via running 'npm run dev'
2015-09-08 14:00:17 +10:00
harriha
478b03e106
Update lib/ via running 'npm run dev'
2015-08-30 23:34:09 +03:00
Mikael Lepistö
fef0a09197
Did npm run build
2015-08-25 10:23:34 +03:00
Jake Russo
18f543b35d
Add Earl Grey support
...
Add stubs for migrate, knexfile, and seed in Earl Grey. Add `.eg`
extension in migrate and seed js files and `eg` filetype in cli js
file.
Remove dot from eg string
Update build files
Change cli to executable
Update js-interpret for earl-grey
2015-07-28 23:44:56 -05:00
John BEPPU
a0a6ab9cd5
added LiveScript migrations correctly #903
...
- reverted changes made to lib/
- changed the right files in src
- ran `babel -L -D -w src/ --out-dir lib/` to generate files
from src/ to lib/
- committed files from src/ and their counterparts in lib/
together as one commit
2015-07-27 10:40:43 -07:00
John BEPPU
dc9b75440b
Revert "add LiveScript support back in to knex migrations"
...
This reverts commit 987b6d9f3fd47f7c25c7e112d6e6d2aee53911ba.
2015-07-27 10:22:41 -07:00
John BEPPU
987b6d9f3f
add LiveScript support back in to knex migrations
2015-07-20 10:40:47 -07:00
Tim Griesser
421cb4f4eb
Commit compiled files
2015-06-01 09:17:11 -04:00
Tim Griesser
cf757a5647
Fix #853 , raw bindings should be optional
2015-06-01 07:30:38 -04:00
Tim Griesser
89fe76faa3
release 0.8.6
2015-05-20 11:21:59 -04:00
Tim Griesser
60ed217f48
Fix #833 , migration functions hanging on non-promise
2015-05-20 11:16:13 -04:00
Tim Griesser
01bae6a598
Add disableTransactions option, #834
2015-05-20 11:08:27 -04:00
Tim Griesser
521a6f9e97
Remove use strict, assumed in ES6
2015-05-09 14:01:19 -04:00
Tim Griesser
7e884cb325
Babel src -> lib, remove gulp
2015-05-09 13:58:18 -04:00
Tim Griesser
ca158836a0
Cast buffer to string, #796
2015-04-28 08:14:22 -04:00
Tim Griesser
7b17cc404a
Oracle test suite up to date
2015-04-27 20:22:05 -04:00
Tim Griesser
46e318d6da
Cleaning up transactions, passing options arg to pipe
2015-04-23 14:51:33 -04:00
Tim Griesser
34b6bd4076
Merge pull request #788 from zcei/feature/migrations-transaction
...
Wraps migrations in transations
2015-04-22 15:52:52 -04:00
Tim Griesser
f9aab9dc76
Major internal refactor
...
Beefed up transaction implementation, still needs tests
and cleanup of nested transaction queues.
Left todo:
- Fix commented out tests
- Fix oracle driver's transactions
2015-04-22 10:34:14 -04:00
Tim Griesser
eee4e9c005
Fixing the overall class dependency approach, lots of internal cleanup, WIP
2015-04-19 16:31:52 -04:00
Chris Papazian
6bad04aa2b
Don't use camelCase in aliased column names
...
Change the query that gets the max batch to be all lowercase to support databases that don't allow cased names.
2015-04-01 14:58:52 -07:00
Thomas Dashney
e960214271
fixed migration bug where it errors out when migrations table is empty
2015-02-19 22:07:52 -05:00
Stephan Schneider
22044df685
warnPromise receives return from migration
2015-01-09 10:57:14 +01:00
Stephan Schneider
49b833014c
Wraps migrations in transations
2015-01-08 23:53:11 +01:00
Ben Drucker
d56536c1b4
Warn when a migration does not return a promise
2015-01-04 08:47:11 -05:00
Tim Griesser
9bfb1cfc18
Fix regression in migration path resolution, caused by #494
2014-10-01 17:25:10 -04:00
Michael Demmer
b7672df536
fix _absoluteConfigDir to support both absolute and relative paths
2014-09-18 10:49:52 -07:00
Vincent Schoettke
f67d04035c
Enabled latedef jshint restriction and fixed warnings
2014-09-03 10:48:25 +02:00
Vincent Schoettke
ef173db790
Changed jshint option unused to true and fixed warnings
2014-09-02 22:56:51 +02:00
Vincent Schoettke
f3874ac651
Fixed several jshint warnings. Added strict mode
2014-09-01 17:19:34 +02:00
Noah Santorello
97c8c820e6
Made migration CLI tasks output absolute paths
2014-07-21 19:48:31 -04:00
Noah Santorello
26e4135f7f
Fixing path issues in migration and seed functionality
2014-07-21 19:27:26 -04:00
Tim Griesser
7c1b8eac70
Fixing default tableName for migrations.
2014-07-21 15:13:30 -04:00
Tim Griesser
590d767839
Utilize es5 getters for cleaner schema/migrate
2014-07-14 13:47:19 -04:00
Whitney Young
6b80bbda8b
Use strict in stubs.
2014-06-18 14:30:24 -07:00