Sha256: 6dcaa04cf0ae2ae8123f350e8ae7cc283216a4b35aae53709b8bdd0a957fa98e
Contents?: true
Size: 396 Bytes
Versions: 3
Compression:
Stored size: 396 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 belongs_to :league belongs_to :division has n, :players end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
merb-admin-0.4.8 | spec/models/datamapper/team.rb |
merb-admin-0.4.7 | spec/models/datamapper/team.rb |
merb-admin-0.4.6 | spec/models/datamapper/team.rb |