fix: Allow soft deletion of teams (#1754)

* fix: Allow soft deletion of teams

* test: regression specs
This commit is contained in:
Tom Moor
2020-12-30 09:40:23 -08:00
committed by GitHub
parent 8dba32b5e0
commit ba61091c4c
7 changed files with 137 additions and 33 deletions

View File

@ -69,6 +69,7 @@ const Team = sequelize.define(
slackData: DataTypes.JSONB,
},
{
paranoid: true,
getterMethods: {
url() {
if (this.domain) {