db/cl/2012_13/cl.rb in sportdb-0.8.1 vs db/cl/2012_13/cl.rb in sportdb-0.9.0

- old
+ new

@@ -3,15 +3,13 @@ # note: timezone for games (play_at) is *always* CET (central european time) ################################# ## 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' ), - league: League.find_by_key!('cl'), +cl = Event.create!( league: League.find_by_key!('cl'), season: Season.find_by_key!('2012/13'), + start_at: Time.cet( '2012-09-18 18:30' ), team3: false ) porto = Team.find_by_key!( 'porto' ) kiew = Team.find_by_key!( 'kiew' ) paris = Team.find_by_key!( 'paris' ) @@ -320,6 +318,7 @@ Game.create_pairs_from_ary_for_group!( games_clf, clf ) Game.create_pairs_from_ary_for_group!( games_clg, clg ) Game.create_pairs_from_ary_for_group!( games_clh, clh ) -Prop.create!( key: 'db.cl.2012/13.version', value: '1' ) +## The End +################# \ No newline at end of file