Sha256: 06b831ff8a26c4eb33f2044987b388366f41a0ac8fd82ea534d1144b6288b98e

Contents?: true

Size: 616 Bytes

Versions: 2

Compression:

Stored size: 616 Bytes

Contents

# encoding: utf-8


teams = [
  [ 'barcelona', 'FC Barcelona',                    'city:barcelona' ],
  [ 'madrid',    'Real Madrid',                     'city:madrid' ],
  [ 'atletico',  'Atlético Madrid|Atletico Madrid',                 'city:madrid' ],
  [ 'malaga',    'FC Málaga|Malaga CF|CF Malaga',   'city:malaga' ],
  [ 'valencia',  'FC Valencia|CF Valencia',         'city:valencia' ],
  [ 'athletic',  'Athletic Bilbao',                 'city:bilbao' ]
]

es = Country.find_by_key!( 'es' )

Team.create_from_ary!( teams, club: true, country: es )

Prop.create!( key: 'db.es.teams.version', value: '1' )

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sportdb-0.8.1 db/es/teams.rb
sportdb-0.8.0 db/es/teams.rb