• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

salesforce / refocus / 9560
89%

Build:
DEFAULT BRANCH: master
Ran 06 Jun 2019 05:32PM UTC
Jobs 1
Files 163
Run time 11s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
9560

push

travis-ci

web-flow
Remove "paranoid" setting from db models (exc. Users & Profiles) (#1181)

* Remove "paranoid" setting from db models (exc. Users & Profiles)
Remove isDeleted attribute (exc. Users & Profiles)
Add migration to clean up the soft-deleted data and update the indices
Update tests

Note: we are keeping paranoid on for Users because we can't delete some of the soft-deleted user records due to referential integrity, where another record has a soft-deleted user associated with it as creator and/or owner. And we're keeping it on for Profiles because we're keeping it on for Users.

Changes to /api/v1/helpers/nouns/*:

pull "isDeleted" out of the list of "readOnlyFields"
Changes to /db/model/*:

remove "paranoid" setting on model
remove "isDeleted" field defn
no longer call setIsDeleted in beforeDestroy
remove "isDeleted" from list of fields in any index defns
remove "isDeleted" from list of "ignoreAttributes" when calling publishObject

Migration:

Up
- fixReferences - clear the collectorGroupId col for collectors which reference a soft-deleted collector group
- destroySoftDeleted - deletes any soft-deleted records from the db
- removeOldIndices - deletes the indices which include deletedAt/isDeleted
- removeFields - removes the deletedAt/isDeleted columns

Down
- recreateOldFields - adds back the deletedAt/isDeleted columns
- removeNewIndices - removes the new indices without deletedAt/isDeleted, if they were created

* jscs fix

* fix typo

* Update 20190603225918-no-paranoid.js

2808 of 3597 branches covered (78.07%)

63 of 63 new or added lines in 8 files covered. (100.0%)

7621 of 8712 relevant lines covered (87.48%)

536.03 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9560.1 06 Jun 2019 05:32PM UTC 0
87.48
Travis Job 9560.1
Source Files on build 9560
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #9560
  • 4e4234d8 on github
  • Prev Build on master (#9558)
  • Next Build on master (#9565)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc