spec/models/datamapper/league.rb in merb-admin-0.5.1 vs spec/models/datamapper/league.rb in merb-admin-0.5.2
- old
+ new
@@ -1,11 +1,11 @@
class League
include DataMapper::Resource
-
+
property :id, Serial
property :created_at, DateTime
property :updated_at, DateTime
property :name, String, :nullable => false, :index => true
-
+
has n, :divisions
has n, :teams
end