db/leagues.rb in sportdb-0.8.1 vs db/leagues.rb in sportdb-0.9.0
- old
+ new
@@ -27,10 +27,11 @@
[ 'fr', 'Ligue 1', fr ],
[ 'nl', 'Eredivisie', nl ],
[ 'pt', 'SuperLiga', pt ],
[ 'ru', 'Premier Liga', ru ],
[ 'ro', 'Romania Liga 1', ro ],
+ ## todo: make apertura into season?? remove from league? why? why not?
[ 'mx.apertura', 'México Primera División Apertura', mx ],
[ 'br', 'Campeonato Brasileiro Série A', br ]
]
League.create_from_ary!( leagues_club, club: true )
@@ -53,15 +54,15 @@
## internationl tournaments & cups w/ national teams
leagues_intl = [
[ 'euro', 'Euro' ],
[ 'america', 'Copa América' ],
- [ 'wm', 'World Cup' ], ## change key to world??
- [ 'wmq.euro', 'World Cup Quali Europe' ],
- [ 'wmq.america', 'World Cup Quali North/Central America and Caribbean' ]
+ [ 'world', 'World Cup' ], ## change key to world??
+ [ 'world.quali.euro', 'World Cup Quali Europe' ],
+ [ 'world.quali.america', 'World Cup Quali North/Central America and Caribbean' ]
]
League.create_from_ary!( leagues_intl, club: false )
-
-Prop.create!( key: 'db.leagues.version', value: '1' )
+## The End
+#################
\ No newline at end of file