Igor Savin
80a2516734
Throw better error when trying to modify schema while using unsupported dialect ( #3609 )
2020-01-05 00:04:41 +01:00
Igor Savin
4feefdf3d2
Enforce Unix (lf) line terminators ( #3598 )
2019-12-29 20:28:40 +01:00
Lorefnon
79ccb7d8bd
Lift up dialect specific methods in the CreateTableBuilder ( #3532 )
2019-11-21 15:22:29 +01: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
f99d3952a1
changed mssql to compact create format. changed unique index to unique constraint
2015-12-14 16:20:45 -06:00
Sky Morey
390d3e1d37
added formatting to schema builder
2015-12-14 11:00:51 -06:00
Sky Morey
371815d7e6
made SCHEMA upper case for mssql
2015-12-14 09:56:53 -06: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ö
fef0a09197
Did npm run build
2015-08-25 10:23:34 +03:00
Daniel Teixeira
8e780a8115
rename .using to .withSchema
2015-08-14 19:17:06 -03:00
Daniel Teixeira
3f8f50425f
add schema support for schema builder
2015-08-09 23:04:53 -03: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
e011768124
Adding back debug
2015-04-28 19:34:11 -04:00
Tim Griesser
e570c167c1
JSHint and formatting
2015-04-22 15:39:29 -04:00
Tim Griesser
b2a358ec84
Cleanup in schema building
2015-04-22 11:45:28 -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
Tyler Kellen
2ddbfb65c4
support creating and dropping extensions in postgresql
2014-11-08 10:14:01 -05:00
Tyler Kellen
0f9a5448dc
implement support for postgres create/drop schema
2014-09-30 12:52:41 -04:00
Vincent Schoettke
f67d04035c
Enabled latedef jshint restriction and fixed warnings
2014-09-03 10:48:25 +02:00
Vincent Schoettke
a373905171
Removed jshint eqnull and fixed warnings
2014-09-02 22:19:22 +02:00
Tim Griesser
d4349a9cff
Add default as alias for defaultTo
2014-09-02 10:54:07 -04:00
Vincent Schoettke
f3874ac651
Fixed several jshint warnings. Added strict mode
2014-09-01 17:19:34 +02:00
Kris Reeves
3d3e4036bb
Compile result of .defaultsTo(null) to "default null", not "default 'null'"
2014-08-25 17:14:58 -04:00
Tim Griesser
0b1af71ac3
Cleanup for #383
2014-08-14 15:32:26 -04:00
Tim Griesser
980818872d
Merge pull request #406 from hsz/chainable-first
...
chainable-first method for MySQL
2014-08-14 15:15:51 -04:00
hsz
1077d11bc3
chainable-first method for MySQL
2014-07-30 10:54:29 +02:00
Calvin Metcalf
d7e54e0741
fix transactions
2014-07-18 12:24:09 -04:00
Calvin Metcalf
957cad6a43
create if not exists
2014-07-17 11:27:02 -04:00
Tim Griesser
590d767839
Utilize es5 getters for cleaner schema/migrate
2014-07-14 13:47:19 -04:00
Tim Griesser
1e936ffd3c
Fix #308 onDelete / onUpdate in PostgreSQL, with tests
2014-06-12 14:00:44 -04:00
Tim Griesser
246e767815
Fix for boolean default types in PostgreSQL
2014-06-10 16:40:59 -04:00
Tim Griesser
c804822c6d
release 0.6.9
2014-06-09 21:28:49 -04:00
Tim Griesser
64c1fb1dcf
release 0.6.7
2014-06-09 19:58:01 -04:00
Tim Griesser
f2b59a2617
enable schema.raw method
2014-06-09 10:27:58 -04:00
Tim Griesser
fc1d41b8ce
continuing docs work
2014-06-03 09:29:08 -04:00
Tim Griesser
bd3147964c
Fix #280 , JSON.stringify json columns
2014-06-03 02:23:20 -04:00
Tim Griesser
d7738e772a
Fixing comment & foreign key tests, full suite passing
2014-05-29 17:31:09 -04:00
Tim Griesser
f7ad182e68
working on a lot of tooling, migration pieces
2014-05-28 22:29:34 -04:00
Tim Griesser
a133b53899
Transaction object are now fully functional, scoped knex objects, #265
2014-05-08 17:58:07 -04:00
Tim Griesser
5b9336a284
sqlstring now pulled from node-mysql, pq queries escaped
2014-05-06 18:15:16 -04:00
Tim Griesser
7f4cc4e287
code consistency
2014-04-27 19:38:18 -04:00
Tim Griesser
2f6a42dd5e
event emitters everywhere, standard 'query' event
2014-04-27 19:35:36 -04:00
Tim Griesser
17c41f1b20
renaming utils to helpers, helper to utils
2014-04-16 04:29:20 -04:00
Tim Griesser
6c76cc5cf0
adding jshint, cleaning unused variables
2014-04-16 03:22:47 -04:00
Tim Griesser
0de9513a78
all tests green
2014-04-16 01:23:50 -04:00
Tim Griesser
4dee91551a
all unit tests passing
2014-04-15 13:10:32 -04:00
Tim Griesser
a62ca4f7ee
schema tests passing, some of the builder tests passing
2014-04-15 11:43:47 -04:00