db/cl/2011_12/cl.rb in sportdb-0.4.5 vs db/cl/2011_12/cl.rb in sportdb-0.5.0
- old
+ new
@@ -5,10 +5,12 @@
#################################
## Champions League 2011/12
cl = Event.create!( key: 'cl.2011/12',
title: 'Champions League 2011/12',
- start_at: Time.cet( '2011-10-10 17:00' ) )
+ start_at: Time.cet( '2011-10-10 17:00' ),
+ league: League.find_by_key!('cl'),
+ season: Season.find_by_key!('2011/12'))
inter = Team.find_by_key!( 'inter' )
marseille = Team.find_by_key!( 'marseille' )
bayern = Team.find_by_key!( 'bayern' )