| 1749 | |
| 1750 | it('destroys a record with a primary key of something other than id', () => { |
| 1751 | @Table |
| 1752 | class UserDestroy extends Model { |
| 1753 | @PrimaryKey |
| 1754 | @Column |
| 1755 | newId: string; |
| 1756 | |
| 1757 | @Column |
| 1758 | email: string; |
| 1759 | } |
| 1760 | |
| 1761 | sequelize.addModels([UserDestroy]); |
| 1762 |