db/cl/2011_12/el.rb in sportdb-0.8.1 vs db/cl/2011_12/el.rb in sportdb-0.9.0
- old
+ new
@@ -3,15 +3,13 @@
# note: timezone for games (play_at) is *always* CET (central european time)
#################################
## Europa League 2012
-el = Event.create!( key: 'el.2011/12',
- title: 'Europa League 2011/12',
- start_at: Time.cet( '2011-10-10 17:00' ),
- league: League.find_by_key!('el'),
+el = Event.create!( league: League.find_by_key!('el'),
season: Season.find_by_key!('2011/12'),
+ start_at: Time.cet( '2011-10-10 17:00' ),
team3: false )
az = Team.find_by_key!( 'az' )
valencia = Team.find_by_key!( 'valencia' )
schalke = Team.find_by_key!( 'schalke' )
@@ -61,7 +59,7 @@
Game.create_knockout_pairs_from_ary!( games_el8, el8, el8_2 )
Game.create_knockout_pairs_from_ary!( games_el4, el4, el4_2 )
Game.create_knockouts_from_ary!( games_el1, el1 )
-
-Prop.create!( key: 'db.el.2011/12.version', value: '1' )
+## The End
+#################
\ No newline at end of file