Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (24 sloc) 1.27 KB
# encoding: utf-8
teams = [
[ 'america', 'Club América|America de Mexico', 'city:mexico' ],
[ 'atlante', 'Atlante', 'city:cancun' ],
[ 'atlas', 'Atlas', 'city:guadalajara' ],
[ 'chivas', 'Guadalajara Chivas', 'city:guadalajara' ],
[ 'cruzazul', 'Cruz Azul', 'city:mexico' ],
[ 'jaguares', 'Jaguares de Chiapas', 'city:tuxtla' ],
[ 'leon', 'Club León|Club Leon', 'city:leon' ],
[ 'monarcas', 'Monarcas Morelia|Atletico Monarcas Morelia', 'city:morelia' ],
[ 'monterrey', 'Monterrey|CF Monterrey ', 'city:monterrey' ],
[ 'pachuca', 'Pachuca', 'city:pachuca' ],
[ 'puebla', 'Puebla F.C. ', 'city:puebla' ],
[ 'queretaro', 'Querétaro F.C.', 'city:queretaro' ],
[ 'sanluis', 'Club San Luis', 'city:sanluispotosi' ],
[ 'slaguna', 'Santos Laguna', 'city:torreon' ],
[ 'tijuana', 'Club Tijuana', 'city:tijuana' ],
[ 'toluca', 'Toluca|Deportivo Toluca', 'city:toluca' ],
[ 'tigres', 'Tigres UANL', 'city:sannicolas' ],
[ 'pumas', 'Pumas UNAM', 'city:mexico' ]
]
mx = Country.find_by_key!( 'mx' )
Team.create_from_ary!( teams, club: true, country: mx )
Prop.create!( key: 'db.mx.teams.version', value: '1' )
Something went wrong with that request. Please try again.