Sha256: dfe03204cee31c0e80c1774f535460fc4fd37db6ff8ae86b17346ec6069eb62b
Contents?: true
Size: 626 Bytes
Versions: 8
Compression:
Stored size: 626 Bytes
Contents
class Team include DataMapper::Resource property :id, Serial property :created_at, DateTime property :updated_at, DateTime property :league_id, Integer, :nullable => false, :index => true property :division_id, Integer, :nullable => false, :index => true property :name, String, :nullable => false, :index => true property :colors, Flag[:beige, :black, :blue, :bronze, :brown, :cool, :copper, :cream, :gold, :gray, :green, :khaki, :maroon, :midnight, :navy, :orange, :pink, :purple, :red, :silver, :tan, :turquoise, :violet, :white, :yellow] belongs_to :league belongs_to :division has n, :players end
Version data entries
8 entries across 8 versions & 2 rubygems