
T2::Attribute - an Attribute of a T2::Class

$class->attributes_insert
( T2::Attribute->new
( name => "myatt",
type => "int",
options => { sql => "TINYINT" }, ) );

A T2::Attribute is an end-point in the T2 schema. It is typically mapped to a single column.
The following types are available:
See Tangram::Type for more information.
Traverses over every object in the attribute, setting $_[0] to the item.