MCPcopy Create free account
hub / github.com/sequelize/sequelize-typescript / ParanoidUser2

Class ParanoidUser2

test/specs/instance.spec.ts:2109–2123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2107
2108 it('restores a previously deleted model', () => {
2109 @Table({ timestamps: true, paranoid: true })
2110 class ParanoidUser2 extends Model {
2111 @Column
2112 username: string;
2113
2114 @Column
2115 secretValue: string;
2116
2117 @Column
2118 data: string;
2119
2120 @Default(1)
2121 @Column
2122 inVal: number;
2123 }
2124
2125 sequelize.addModels([ParanoidUser2]);
2126

Callers

nothing calls this directly

Calls 2

TableFunction · 0.90
DefaultFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…