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ö
fef0a09197
Did npm run build
2015-08-25 10:23:34 +03:00
Daniel Teixeira
70e4692638
add support to postgres search_path
2015-08-09 23:04:57 -03:00
Daniel Teixeira
3f8f50425f
add schema support for schema builder
2015-08-09 23:04:53 -03:00
Daniel Teixeira
402dbd9903
add schema support for postgres queries
2015-08-09 20:48:33 -03:00
Tim Griesser
6cef074236
Fix correct files for #851
2015-06-01 09:22:27 -04:00
Tim Griesser
421cb4f4eb
Commit compiled files
2015-06-01 09:17:11 -04:00
Kris Reeves
c1c6d401b8
Also fix up postgres _stream function to bind an error handler on the query object
2015-05-29 12:41:33 -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
c40b1339aa
Update process for web script build
2015-04-29 17:11:52 -04:00
Tim Griesser
ff76297506
Normalize connection config, fix #789
2015-04-29 15:14:41 -04:00
Tim Griesser
04a0aa6935
Removing explicit build directory, building lib in docs instead
2015-04-27 15:48:23 -04:00
Tim Griesser
e570c167c1
JSHint and formatting
2015-04-22 15:39:29 -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
Tim Griesser
27cd9f12c5
Cleanup pool implementation, preparing things for new release
2015-04-17 15:00:08 -04:00
Tim Griesser
13995d6936
Fix #737 , proper escaping for identifiers
2015-03-13 01:17:32 -04:00
Kris Reeves
84aef3bd4c
Handle postgres connection "error" and "end" events
...
Closes #659
2015-02-23 09:35:57 -05:00
Kris Reeves
dff5a1409a
Use Pool2 instead of Generic-pool-redux
2015-02-19 11:50:43 -05:00
Ville Lahdenvuo
2961bb1ed4
Add POSIX operator support for Postgres
...
Closes #562 , Closes #561
2014-11-14 12:21:36 -05:00
Tyler Kellen
2ddbfb65c4
support creating and dropping extensions in postgresql
2014-11-08 10:14:01 -05:00
Tim Griesser
c0070891a3
Merge pull request #517 from briandela/master
...
Add support for specifying the postgres index type
2014-10-03 11:04:55 -04:00
Tim Griesser
776acf3f30
Fix #516 , connection parameters not properly preserved
2014-10-03 11:03:34 -04:00
Brian Delahunty
9be8e7b601
Add support for specifying the postgres index type.
2014-10-02 20:56:39 -07:00
Tyler Kellen
0f9a5448dc
implement support for postgres create/drop schema
2014-09-30 12:52:41 -04:00
Ben Drucker
40effe848a
Allow jsonb columns to be created with the schema builder
...
Closes #499
2014-09-22 12:25:28 -04:00
Vincent Schoettke
72cf342273
Fixes #319 . Inserting multiple rows with default values
2014-09-08 16:10:43 +02: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
98f4f9a1dd
Removed jshint expr and fixed warnings
2014-09-02 22:03:14 +02:00
Vincent Schoettke
f3874ac651
Fixed several jshint warnings. Added strict mode
2014-09-01 17:19:34 +02:00
Tim Griesser
83b2c2b078
Fix #434 , add returning config option
2014-08-24 14:41:48 -04:00
Neil Gentleman
ab4c6dabbc
don't throw away the postgres client's password
...
broken by tgriesser/knex#390
2014-08-20 15:52:19 -07:00
Tim Griesser
a768c7881b
Fix #398 , #410 , escape field with enum / postgres
2014-08-14 15:45:15 -04:00
Tim Griesser
0b1af71ac3
Cleanup for #383
2014-08-14 15:32:26 -04:00
Tim Griesser
1bdf35cafa
Merge pull request #390 from bhirt-bpl/master
...
fix for using a pgConnectionString
2014-08-14 15:13:30 -04:00
Tim Griesser
f117efa343
Merge pull request #383 from calvinmetcalf/create-if-not
...
Create if not
2014-08-14 15:10:48 -04:00
Noah Santorello
79faa5177c
Finished seeder integration for various dialects
2014-07-21 18:06:58 -04:00
bhirt-gf
9321abd6c0
fix for using a pgConnectionString, the parsed connection string settings will be set in the connectionSettings of the knex object. Without this, some features like columnInfo() will fail when connecting to a database with a pgConnectionString
2014-07-21 12:00:12 -06:00
Noah Santorello
f8d01e9901
Initial commit of seed functionality
2014-07-21 09:42:56 -04:00
Pelle Wessman
bdc3b43655
Added a function helper collection
...
To make it possible for individual dialects to provide their own variant of common SQL-functions like NOW()
2014-07-18 12:41:23 +02:00
Calvin Metcalf
957cad6a43
create if not exists
2014-07-17 11:27:02 -04:00
Tim Griesser
86c0863147
remove knex.utils, move pgBindings to client.positionBindings
2014-07-14 13:51:43 -04:00
Tim Griesser
521f22aec2
Fix #363 , prepare postgresql parameters for streaming
2014-07-10 12:31:18 -04:00
Tim Griesser
a1be2e9663
Fix #337 , stream only syntax should not return a promise
2014-06-25 02:42:22 -04:00
Tim Griesser
1e936ffd3c
Fix #308 onDelete / onUpdate in PostgreSQL, with tests
2014-06-12 14:00:44 -04:00
Tim Griesser
04cab6df44
release 0.6.10
2014-06-10 11:52:42 -04:00
Tim Griesser
e73217e4c5
release 0.6.2
2014-06-04 16:24:29 -04:00
Tim Griesser
4da19754f8
Fix #297 - raw query should pass through response
2014-06-04 15:55:41 -04:00