db/cl/2012_13/cl.rb in sportdb-0.4.5 vs db/cl/2012_13/cl.rb in sportdb-0.5.0
- old
+ new
@@ -5,10 +5,12 @@
#################################
## Champions League 2012/13
cl = Event.create!( key: 'cl.2012/13',
title: 'Champions League 2012/13',
- start_at: Time.cet( '2012-09-18 18:30' ) )
+ start_at: Time.cet( '2012-09-18 18:30' ),
+ league: League.find_by_key!('cl'),
+ season: Season.find_by_key!('2012/13'))
porto = Team.find_by_key!( 'porto' )
kiew = Team.find_by_key!( 'kiew' )
paris = Team.find_by_key!( 'paris' )
zagreb = Team.find_by_key!( 'zagreb' )
\ No newline at end of file