0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/test/unit/models
Katharina Irrgang 4b2ebee67b
🐛 Added logic to avoid updating the updated_at and updated_by field when migrating (#9814)
no issue

- we have to explicitly reset the previous `updated_at` field, because Bookshelf auto-updates this field on each update
- we have to extend the condition to avoid updating the `updated_by` field
- detect and respect `options.migrating`
2018-08-22 13:57:12 +02:00
..
base Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
plugins Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
invite_spec.js Removed knex mock (#9685) 2018-06-12 20:26:16 +02:00
permission_spec.js Removed knex mock (#9685) 2018-06-12 20:26:16 +02:00
post_spec.js 🐛 Added logic to avoid updating the updated_at and updated_by field when migrating (#9814) 2018-08-22 13:57:12 +02:00
tag_spec.js Removed knex mock (#9685) 2018-06-12 20:26:16 +02:00
user_spec.js Fixed missing defaults in model layer 2018-06-26 16:35:23 +02:00