const { title } = Note.attributes; assert.equal(title.allowNull, true); assert.equal(title.columnName, 'title');
}); assert(Book.synchronized); assert(Object.keys(Book.attributes).length > 0); }); }); assert(Book.synchronized); assert(Object.keys(Book.attributes).length > 0); });