db/euro/2008.rb in sportdb-0.8.1 vs db/euro/2008.rb in sportdb-0.9.0
- old
+ new
@@ -11,15 +11,14 @@
## 16 teams
## 31 games
## 22 days
-euro = Event.create!( key: 'euro.2008',
- title: 'Euro 2008',
+euro = Event.create!( league: League.find_by_key!('euro'),
+ season: Season.find_by_key!('2008'),
start_at: Time.cet( '2008-06-07 18:00' ),
- league: League.find_by_key!('euro'),
- season: Season.find_by_key!('2008'))
+ team3: false )
euro.add_teams_from_ary!([
'sui',
'aut',
@@ -50,11 +49,7 @@
euroc.add_teams_from_ary!(['ned', 'ita', 'rou', 'fra'])
eurod.add_teams_from_ary!(['gre', 'swe', 'esp', 'rus'])
-
-Prop.create!( key: 'db.euro.2008.version', value: '1' )
-
-
-
-
+## The End
+#################
\ No newline at end of file