- 28 May, 2016 6 commits
-
-
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 6 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 -
Sushant committed
-
* test to check if deletedAt allow future dates * compare deletedAt with NOW() rather than IS NULL * fixed tests which depends upon old deletedAt behaviour * fixed findAndCountAll test which depend upon deletedAt old behaviour
Sushant committed
-
- 17 May, 2016 3 commits
-
-
Jan Aagaard Meier committed
-
Jan Aagaard Meier committed
-
* Change behaviour for "$notIn empty array" * Make sure value in escape method is a string
Markus Hedlund committed
-
- 16 May, 2016 10 commits
-
-
Jan Aagaard Meier committed
-
Jan Aagaard Meier committed
-
… # 3439. Update changelog for v4 pre release
Jan Aagaard Meier committed -
Sushant committed
-
Sushant committed
-
Sushant committed
-
Sushant committed
-
Sushant committed
-
Sushant committed
-
* Fixed @param doc tag in model.js that was breaking docs build. * Updating documentation for Model.schema() to include intended use case and how to set a default schema for a model.
Ryan Thomas committed
-