wubzz
5a6ab64d06
Ensure .primary() and .dropPrimary() are the same across all dialects.
2016-05-19 21:30:17 +02: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
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
Max Claus Nunes
8d6264e96b
wrap index names
2016-03-16 21:52:51 -03:00
wubzz
faca736ed5
Fix jshint issues
2016-03-11 23:32:43 +01:00
wubzz
2738697f42
Add a TypeError when failing to supply a callback function to .createTable
and .table
.
2016-03-11 23:22:30 +01:00
wubzz
7cc827f6cf
Merge pull request #1258 from jurko-gospodnetic/code-cleanup
...
Code cleanup (trimmed trailing spaces & removed tabs)
2016-03-08 13:13:48 +01:00
Ngoc Tran
ac294c5d47
Renamed table name to more accurately reflect test.
2016-03-08 01:31:22 -08:00
Ngoc Tran
755ad78df4
Fixes #1220 bug to now throw TypeError if parameter passed into inTable() is not typeof === 'string'.
2016-03-08 01:28:58 -08:00
Jurko Gospodnetić
16a076c1a0
trim trailing spaces
...
Only left alone ones in `test/tape/transactions.js` which would just
cause unnecessary conflicts and get cleaned up by separate pull
request #1257 anyway.
2016-03-08 08:44:01 +01:00
Ngoc Tran
60f8062cfe
Fixes #1220 , https://github.com/tgriesser/knex/issues/1220 , inTable(undefined) fails silently error by making sure it throws an error if the user passes an undefined table name.
2016-03-07 03:33:17 -08:00
Sky Morey
f99d3952a1
changed mssql to compact create format. changed unique index to unique constraint
2015-12-14 16:20:45 -06:00
Sky Morey
371815d7e6
made SCHEMA upper case for mssql
2015-12-14 09:56:53 -06:00
Sky Morey
1793f9ad45
first pass of build modifications
2015-12-10 15:14:43 -06:00
Sky Morey
afd6b66624
Final build of mssql provider, all tests pass
2015-12-09 17:53:53 -06:00
Sky Morey
7c1120e0e2
in progress
2015-12-08 11:37:31 -06:00
Mikael Lepistö
b9d9a99f80
Added \? escape sequence to postgres dialect to allow using ? operator.
2015-08-25 10:19:35 +03:00
Daniel Teixeira
3f8f50425f
add schema support for schema builder
2015-08-09 23:04:53 -03:00
Daniel Qin
c540d46c5d
added test for rename columns reference by another table
2015-07-07 13:12:09 +08:00
Vincent Schoettke
285816ccdd
default to timestamp with time zone for oracle
2015-06-24 10:15:51 +02:00
Tim Griesser
46e318d6da
Cleaning up transactions, passing options arg to pipe
2015-04-23 14:51:33 -04:00
Tim Griesser
c8232d11d3
Merge with master, cleanup on mysql2/maria
2015-04-22 16:19:59 -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
Ben Drucker
7cdda834ef
Remove FoundationDB
...
Reverts c199761c597c93136a6d38bc4ecf26a693560322 and #641
Foundation was acquired and shut down immediately
2015-03-24 17:48:14 -07:00
Kris Reeves
1d1c6b9360
Supporting tests
2015-02-19 12:08:02 -05:00
Nathan Williams
2d6d2f28f7
Adapter for FoundationDB SQL Layer
2015-02-04 14:56:41 -05:00
Vincent Schoettke
72cf342273
Fixes #319 . Inserting multiple rows with default values
2014-09-08 16:10:43 +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
a768c7881b
Fix #398 , #410 , escape field with enum / postgres
2014-08-14 15:45:15 -04:00
Vincent Schoettke
9ef99b5f92
Added oracle support
2014-08-13 21:53:42 +02:00
Tim Griesser
246e767815
Fix for boolean default types in PostgreSQL
2014-06-10 16:40:59 -04:00
Tim Griesser
6b85f1d66f
Merge with master, ensure #278 is fixed in 0.6
2014-06-04 11:29:21 -04:00
Tim Griesser
7befdf616f
default to timestamptz for postgresql, #184
2014-06-04 04:10:27 -04:00
Tim Griesser
abc4b36231
Set the database charset as utf8
2014-06-03 09:56:37 -04:00
Tim Griesser
d7738e772a
Fixing comment & foreign key tests, full suite passing
2014-05-29 17:31:09 -04:00
Tim Griesser
94e896fd41
docs work, test cleanup, adding fix for #287
2014-05-29 13:40:34 -04:00
Blake Embrey
d0d4549c21
Drop indexes correctly, closes #276
2014-05-20 18:02:21 +10:00
Tim Griesser
5708a73023
add nullable and defaultValue fields to columnInfo
2014-05-04 23:54:03 -04:00
Tim Griesser
db2f9e7f08
merge with master
2014-04-16 02:50:19 -04:00
Tim Griesser
0de9513a78
all tests green
2014-04-16 01:23:50 -04:00
Rui Fortes
b7bbb49364
Added tests for multi-column "whereIn"
2014-03-25 18:56:07 +00:00
Tim Griesser
4c589cc960
working on refactoring the internals
2014-02-14 12:46:13 -05:00
Tim Griesser
fc69e3fbb9
hopefully valid raw mysql
2014-01-07 22:21:16 -05:00
Tim Griesser
b42d42e2bc
fix for #146 , allowing knex.raw in defaultTo
2014-01-07 22:12:33 -05:00
Tim Griesser
5b5a6f62fd
use bluebird nodeify, add catch/finally promise methods
2013-12-18 17:24:28 -05:00
Tim Griesser
7a6937fdb3
cleanup for readability of migrations, mostly done
2013-11-02 17:39:52 -04:00
Tim Griesser
065322e007
working on the migrations spec, debugging bluebird
2013-11-02 13:14:38 -04:00
Tim Griesser
8b2ef4eef1
merging bluebird into migrations
2013-11-02 09:26:31 -04:00