- 07 Jun, 2016 1 commit
-
-
* Make Sequelize an ES6 class * ES6 refactor of sequelize.js let, const, arrow functions, property shorthands, for of, export default
Felix Becker committed
-
- 06 Jun, 2016 4 commits
-
-
fix(Model): findOrCreate should fail explicitely, not timeout, when altering hooks before create
Mick Hansen committed -
📝 Jan Aagaard Meier committed -
Kevin Simper committed
-
https://greenkeeper.io/
Greenkeeper committed
-
- 03 Jun, 2016 3 commits
-
-
Sushant committed
-
When creating a foreign key constraint in MySQL, use the template {referring_table}_{attribute}_foreign_idx, rather than just {attribute}_foreign_idx, to avoid duplicate constraint names. Related tests are updated. See GitHub #5826
Yaohan Chen committed -
Ryer Wong committed
-
- 01 Jun, 2016 4 commits
-
-
Sushant committed
-
Jan Aagaard Meier committed
-
Sushant committed
-
* Make range bound defaults adhere to postgres * Explicitly support RANGE for postgres * Support serializing casted range subtype values * Support all range operators * Document range types and operators
Ali Taheri Moghaddar committed
-
- 30 May, 2016 1 commit
-
-
Jan Aagaard Meier committed
-
- 28 May, 2016 8 commits
-
-
* auto commit disabled by default * test for autocommit disable, prevent sqlite to send fake query * auto commit test refactor * refactor autocommit test to check sequence of queries * enabled es6 in jshint
Sushant committed -
* sync behaviour of as for all association type * changelog and docs for #5267 * fixed N:M failing test
Sushant committed -
Jan Aagaard Meier committed
-
Jan Aagaard Meier committed
-
Jan Aagaard Meier committed
-
Jan Aagaard Meier committed
-
K.J. Valencik committed
-
* Make Instance an ES6 class * Add esversion: 6 to jshintrc * Make Model an ES6 class * Merge Model class into Instance class * Rename instance.js to model.js * Remove name parameter from Model.init() The name is set when subclassing the Model class * Change sequelize.define() to a Model class factory * Delete model.js * Remove Model.Instance and Model.prototype.Model * Fix JSHint issue * Remove leftover require('./instance') * Fix reference to old Instance class * Remove references to old Instance class from main module * Reorder imports to hopefully trigger Travis Build * Fix _addOptionalClassMethods call * Fix more references to .Instance * Correct uses of .Model * Fix use of this in closure * Fix usage of instanceof Model * Fix usage of .Model * Fix usage of this in closure * Fix usage of $Model * Fix test for `plain` option * Fix uses of .$Model * Fix hooks * Fix global hooks * Make more tests pass * Make more tests pass * Fix Model.prototype references in findone test * Change Model.schema() * Fix instanceof checks in belongs-to-many association * Fix Model.scope() * Remove callback support from hooks * Fix instanceof Model checks * Fix usage of instanceof Model * Change another occurence of .Model.name to .constructor.name * Replace .constructor by .Model again * Fix this inside closure * Change test cosntructor assertions to instanceof checks
Felix Becker committed
-
- 25 May, 2016 2 commits
-
-
Luc Verdier committed
-
Sushant committed
-
- 24 May, 2016 7 commits
-
-
https://greenkeeper.io/
Greenkeeper committed -
Jan Aagaard Meier committed
-
* Added failing test to prove that #5301 is not fixed yet * Instance.equals() compares only model and primary key. Fixes #5103 * Instance .equals() PK check accounts for multiple PKs
MrVoltz committed -
* hasOne now prefer options.as for foreign key name Conflicts: changelog.md * (test) hasOne now prefer as
Sushant committed -
* chore(ci): Update build matrix *
🔥 Mariadb * Remove 0.12 from build matrix * Update .travis.ymlJan Aagaard Meier committed -
⚠ * chore(package): update mocha to version 2.5.0 https://greenkeeper.io/ * chore(package): mocha@2.5.1
Greenkeeper committed -
https://greenkeeper.io/
Greenkeeper committed
-
- 23 May, 2016 5 commits
-
-
* Model#truncate - Fixing documentation formatting * Fixing code comment
gtelljohann committed -
Mick Hansen committed
-
ivo-stefchev committed
-
* Adding the ability to log warnings if they are present in MySQL. * Reset spy between tests... * Pass options over. Make changes for jshint. * Ack, forgot debug code. * Finishing up, added tests. Refactored promise chain a little to support the new logging. * Fixed automated test issue. * Changes per pull request feedback. * Adding the ability to log warnings if they are present in MySQL. * Pass options over. Make changes for jshint. * Rebased. * Adding the ability to log warnings if they are present in MySQL. * Pass options over. Make changes for jshint. * Finishing up, added tests. Refactored promise chain a little to support the new logging. * Fixed automated test issue. * Changes per pull request feedback. * Fixing per tests, conflicts, and formatting requests from pull request. * Fixed issue (hopefully) with the bad regex in the test. * Changed test to being MySQL only. * Adding the ability to log warnings if they are present in MySQL. * Reset spy between tests... * Pass options over. Make changes for jshint. * Ack, forgot debug code. * Adding the ability to log warnings if they are present in MySQL. * Adding the ability to log warnings if they are present in MySQL. * Pass options over. Make changes for jshint. * Pass options over. Make changes for jshint. * Finishing up, added tests. Refactored promise chain a little to support the new logging. * Finishing up, added tests. Refactored promise chain a little to support the new logging. * Fixed automated test issue. * Fixed automated test issue. * Changes per pull request feedback. * Changes per pull request feedback. * Rebased. * Fixing per tests, conflicts, and formatting requests from pull request. * Fixed issue (hopefully) with the bad regex in the test. * Changed test to being MySQL only.
Michael D. Stemle, Jr committed -
Westley Argentum Hennigh-Palermo committed
-
- 19 May, 2016 1 commit
-
-
Use case for this is generic cache invalidation using the options.model.name and options.where.id or obj.id
Matthew Scragg committed
-
- 18 May, 2016 4 commits
-
-
Sushant committed
-
Luc Verdier committed
-
* removed support for pool:false * docs updates and changelog for removal of pool:false * fixed conn-manager test which depends upon pool:false
Sushant committed -
https://greenkeeper.io/
Greenkeeper committed
-