db/cl/2011_12/cl.rb in sportdb-0.2.0 vs db/cl/2011_12/cl.rb in sportdb-0.3.0
- old
+ new
@@ -8,10 +8,11 @@
## note :team3 => false CL has no 3rd place (only final game)
cl = Event.create!( :key => 'cl',
:title => 'Champions League 2011/12',
:start_at => Time.cet( '2011-10-10 17:00' ) )
+
inter = Team.find_by_key!( 'inter' )
marseille = Team.find_by_key!( 'marseille' )
bayern = Team.find_by_key!( 'bayern' )
basel = Team.find_by_key!( 'basel' )
@@ -80,7 +81,8 @@
Game.create_knockout_pairs_from_ary!( games_cl16, cl16, cl16_2 )
Game.create_knockout_pairs_from_ary!( games_cl8, cl8, cl8_2 )
Game.create_knockout_pairs_from_ary!( games_cl4, cl4, cl4_2 )
Game.create_knockouts_from_ary!( games_cl1, cl1 )
+
Prop.create!( :key => 'db.cl.2011/12.version', :value => '1' )