2646 Commits

Author SHA1 Message Date
wubzz
6316fa8a9b JSHint fix 2016-05-11 13:36:25 +02:00
wubzz
07fb9727d3 Commit to trigger new build 2016-05-11 13:31:14 +02:00
wubzz
9b37eb4c1a Cleanup code 2016-05-10 08:41:06 +02:00
Devin Ivy
82105a6045 Make transaction-client match main client on acquireConnection() 2016-05-09 17:21:55 -04:00
wubzz
65af6a8f39 Indent with spaces instead of tabs 2016-05-09 22:38:56 +02:00
Devin Ivy
3d9327a2f4 Abort request for connection from pool upon knex timeout. Closes #1382 2016-05-09 14:02:01 -04:00
wubzz
b882bdf4f1 Fix indentation 2016-05-09 19:03:48 +02:00
wubzz
2f44a48fa8 BatchInsert remake proposal. Fixes #1391 2016-05-09 19:01:00 +02:00
Rhys van der Waerden
8f400d3c50 Update JSHint
Update JSHint to latest.
2016-05-08 23:18:28 +10:00
Rhys van der Waerden
0ccb4bfa87 Modernize method syntax
`name: function()` -> `name()`
2016-05-08 23:18:28 +10:00
Rhys van der Waerden
638da7e144 Merge pull request #1375 from Vanuan/patch-1
Add node 6
2016-05-07 18:55:41 +10:00
Rhys van der Waerden
fb235eb0bc Merge pull request #1389 from nixgadget/master
Prevent crash on `seed:make`
2016-05-07 18:49:14 +10:00
Kasun
08021c7776 Prevent crash on seed:make
- `template` no longer accepts 3 arguments. Fixed by removing `null`
2016-05-07 16:55:09 +12:00
John Yani
f53dd3274d Remove increasing timeout 2016-05-07 07:33:07 +03:00
Rhys van der Waerden
a3a81982d8 release 0.11.1 0.11.1 2016-05-06 18:24:29 +10:00
Rhys van der Waerden
d7ffaed2be Prepare for release 2016-05-06 18:22:48 +10:00
Rhys van der Waerden
f42be02633 Merge pull request #1386 from tgriesser/feature/fix-migrate-make-crash
Prevent crash on `migrate:make`
2016-05-06 13:34:16 +10:00
Rhys van der Waerden
6bcceb4f49 Prevent crash on migrate:make
Fixes error introduced in 1d27fb8. `template` fails if passed a `null` second argument.

Fixes #1385
2016-05-06 13:03:19 +10:00
Rhys van der Waerden
40c80b3520 release 0.11.0 0.11.0 2016-05-05 22:51:18 +10:00
Rhys van der Waerden
415d0084a3 Prepare for 0.11.0 2016-05-05 22:43:04 +10:00
John Yani
1cfe4f871e Update index.js 2016-04-30 19:56:15 +03:00
John Yani
4eb25932a9 Add node 6 2016-04-30 19:35:37 +03:00
wubzz
8a303f1a96 Merge pull request #1342 from h0vhannes/mssql-conn-urls
Correct connection URL parsing for MSSQL
2016-04-29 12:32:01 +02:00
wubzz
9903e7d546 Merge pull request #1372 from mdrmuhaimin/patch-1
Update package.json to use latest node-postgres
2016-04-29 12:31:33 +02:00
Muhammad Raihan Muhaimin
4d88e1d6ab Update package.json to use latest node-postures
Resolve #1371
- Fix pg authentication error 
- Update package.json to use pg 4.5.5
2016-04-27 16:01:31 -04:00
Mikael Lepistö
d990708f3d Merge pull request #1362 from wolfgang42/mssql-fixes
Mssql fixes
2016-04-22 08:17:39 +03:00
Wolfgang Faust
a7f609aa4f mssql dialect: Fix integration tests that check for quoted wrappers.
PR #1289 made it quote the index/constraint names, but did not update the tests accordingly.
2016-04-21 20:56:41 +00:00
Wolfgang Faust
aa3c1c20cf mssql dialect: make createTableIfNotExists actually work.
Previously it would never actually create the table, as
object_id() returns null if the table doesn't exist
2016-04-21 20:56:31 +00:00
wubzz
85403e8302 Merge pull request #1343 from wubzz/bugfix/pool.ping_for_mssql
Fix MSSQL ping function, calling resource.request().query instead of …
2016-04-13 06:47:29 +02:00
wubzz
14eca7a02c Fix MSSQL ping function, calling resource.request().query instead of resource.query. 2016-04-13 06:42:30 +02:00
Hovhannes Kuloghlyan
8e41a332b9 Add parse URL connection string tests for MSSQL 2016-04-12 03:59:31 +04:00
Hovhannes Kuloghlyan
e49b0d41d7 Correct connection URL parsing for MSSQL
Use connection.server instead of connection.host
when connecting to MSSQL
2016-04-12 01:30:20 +04:00
wubzz
1f09df80a9 Merge pull request #1296 from wubzz/default_pool_ping_fn_and_rollback_handler
Default pool.ping fn, and silently ignore 'Rollback' errors on a dead connection
2016-04-04 18:49:12 +02:00
wubzz
a223858dc1 Increase rollback timeout to 5secs 2016-04-02 16:35:29 +02:00
wubzz
abfff604c2 Update documentation regarding default ping function. 2016-04-02 16:35:28 +02:00
wubzz
fa125712da A default ping fn in default pool settings, and silently ignore errors when querying 'ROLLBACK' on a dead connection by using Promise.Timeout. 2016-04-02 16:35:27 +02:00
wubzz
a104cc0482 Merge pull request #1315 from wubzz/bugfix/missing_error_event_for_mysql2
Mysql2 should also listen to 'error' events.
2016-04-02 16:32:46 +02:00
wubzz
bb9663f2b3 Merge pull request #1326 from wubzz/bugfix/renameCol_drops_default_value
.renameColumn should not drop defaultValue or nullable state.
2016-04-02 00:28:54 +02:00
wubzz
d3b1fcc4b8 Fixed test, forgot ES6 is not supported in the test suite. 2016-04-01 23:39:04 +02:00
wubzz
0b45356456 .renameColumn should not drop defaultValue or nullable state. Currently this happens for mysql. Fixes #933 2016-04-01 23:37:12 +02:00
wubzz
2fad6d1f6e Mysql2 should also listen to 'error' events. 2016-03-29 17:46:19 +02:00
wubzz
b8c8572a62 Merge pull request #1313 from jurko-gospodnetic/code-cleanup
Minor stylistic code & comment touch up + typo fixes
2016-03-27 17:30:09 +02:00
wubzz
34d9a7650e Merge pull request #1269 from wubzz/bugfix/fix_valuesForUndefined_actual_query
Fix valuesForUndefined actual query being executed. Fixes #1268
2016-03-27 17:28:41 +02:00
Jurko Gospodnetić
e9ebf6faa2 touch up wording in warning message about manually removing migration locks
- added a missing `the` article
- wrapped the long string construction code at 80 characters
2016-03-26 09:04:29 +01:00
Jurko Gospodnetić
39221737b3 touch up comments - wording, line wrapping, capitalization & trailing dots 2016-03-26 09:01:00 +01:00
Jurko Gospodnetić
ba9b3d230c fix beacuse --> because typo 2016-03-26 08:55:12 +01:00
Jurko Gospodnetić
7d5125ae78 fix Cant --> Can't typos 2016-03-26 08:52:24 +01:00
Mikael Lepistö
df5f46a29a Merge pull request #1309 from freshsun/patch-1
update index.js to work with aliyun rds
2016-03-24 20:48:47 +02:00
wubzz
c8819abcfc Merge pull request #1310 from wubzz/bugfix/events_not_triggered_on_builder
Ensure events are triggered on the builder as well as the client.
2016-03-24 19:22:36 +01:00
wubzz
3a925c30e1 Ensure events are triggered on the builder as well as the client. 2016-03-24 19:12:29 +01:00