# encoding: utf-8 bl = [ [ 'salzburg', 'FC RB Salzburg|RB Salzburg|Red Bull Salzburg', 'RBS', 'city:salzburg' ], [ 'rapid', 'SK Rapid Wien|Rapid Wien', 'RAP', 'city:wien' ], [ 'admira', 'FC Admira Wacker|Admira Wacker|FC Admira Wacker Mödling', 'ADM', 'city:moedling' ], [ 'austria', 'FK Austria Wien|Austria Wien', 'FAK', 'city:wien' ], [ 'sturm', 'SK Sturm Graz|Sturm Graz', 'STU', 'city:graz' ], [ 'ried', 'SV Ried|SV Josko Ried|SV Josko Fenster Ried', 'RIE', 'city:ried' ], [ 'innsbruck', 'FC Wacker Innsbruck|FC Wacker|Wacker Innsbruck', 'IBK', 'city:innsbruck' ], [ 'mattersburg', 'SV Mattersburg', 'SVM', 'city:mattersburg' ], [ 'wrneustadt', 'SC Wiener Neustadt|Wiener Neustadt|Wr. Neustadt', 'WRN', 'city:wrneustadt' ], [ 'wac', 'Wolfsberger AC', 'WAC', 'city:wolfsberg' ] ] ersteliga = [ [ 'ksv', 'Kapfenberger SV|Kapfenberger SV 1919|KSV 1919', 'Erste Liga/Stmk.', 'KSV', 'city:kapfenberg'], [ 'altach', 'SCR Altach', 'Erste Liga/Vbg.', 'ALT', 'city:altach' ], [ 'austrial', 'SC Austria Lustenau|Austria Lustenau', 'Erste Liga/Vbg.', 'LUS', 'city:lustenau' ], [ 'stpoelten', 'SKN St. Pölten', 'Erste Liga/NÖ', 'POE', 'city:stpoelten' ], [ 'linz', 'FC Blau-Weiß Linz|FC Blau Weiss Linz', 'Erste Liga/OÖ', 'BWL', 'city:linz' ], [ 'groedig', 'SV Grödig', 'Erste Liga/Sbg.', 'GRO', 'city:groedig' ], [ 'lustenau', 'FC Lustenau 1907|FC Lustenau', 'Erste Liga/Vbg.', 'LUS', 'city:lustenau' ], [ 'vienna', 'Vienna FC 1894|First Vienna FC 1894', 'Erste Liga/Wien', 'VIE', 'city:wien' ], [ 'hartberg', 'TSV Hartberg', 'Erste Liga/Stmk.', 'HAR', 'city:hartberg' ], [ 'horn', 'SV Horn', 'Erste Liga/NÖ', 'HOR', 'city:horn' ] ] rlwest = [ [ 'hard', 'FC Hard', 'Regionalliga West/Vbg.', 'HAR' ], [ 'bregenz', 'SC Bregenz', 'Regionalliga West/Vbg.', 'BRE' ], [ 'dornbirn', 'FC Dornbirn 1913|FC Dornbirn', 'Regionalliga West/Vbg.', 'DOR' ], [ 'kufstein', 'FC Kufstein', 'Regionalliga West/Tirol', 'KUF' ], [ 'wattens', 'WSG Wattens', 'Regionalliga West/Tirol', 'WAT' ], [ 'austrias', 'SV Austria Salzburg', 'Regionalliga West/Sbg.', 'AUS' ], [ 'pinzgau', 'FC Pinzgau Saalfelden', 'Regionalliga West/Sbg.', 'PIN' ], [ 'stjohann', 'TSV St. Johann', 'Regionalliga West/Sbg.', 'STJ' ] ] rlmitte = [ [ 'vsv' , 'Villacher SV', 'Regionalliga Mitte/Ktn.', 'VSV' ], [ 'klagenfurt', 'SAK Celovec/Klagenfurt', 'Regionalliga Mitte/Ktn.', 'CEL' ], [ 'austriak', 'SK Austria Klagenfurt|SG Austria Klagenfurt', 'Regionalliga Mitte/Ktn.', 'KLA' ], [ 'kalsdorf', 'SC Kalsdorf', 'Regionalliga Mitte/Stmk.', 'KAL' ], [ 'gratkorn', 'FC Gratkorn', 'Regionalliga Mitte/Stmk.', 'GRA' ], [ 'allerheiligen', 'SV Allerheiligen|USV Allerheiligen', 'Regionalliga Mitte/Stmk.', 'ALL' ], [ 'leoben', 'DSV Leoben', 'Regionalliga Mitte/Stmk.', 'LEO' ], [ 'gak', 'Grazer AK', 'Regionalliga Mitte/Stmk.', 'GAK' ], [ 'pasching', 'FC Pasching', 'Regionalliga Mitte/OÖ', 'PAS' ], [ 'voecklamarkt', 'Vöcklamarkt', 'Regionalliga Mitte/OÖ', 'VOE' ], [ 'stflorian', 'St. Florian|Union St. Florian', 'Regionalliga Mitte/OÖ', 'STF' ], [ 'wallern', 'Wallern', 'Regionalliga Mitte/OÖ', 'WAL' ], [ 'lask', 'LASK Linz', 'Regionalliga Mitte/OÖ', 'LAS' ] ] rlost = [ [ 'sollenau', '1. SC Sollenau|SC Sollenau', 'Regionalliga Ost/OÖ', 'SOL' ], [ 'amstetten', 'SKU Amstetten', 'Regionalliga Ost/NÖ', 'AMS' ], [ 'retz', 'SV Retz', 'Regionalliga Ost/NÖ', 'RET' ], [ 'fac' , 'FAC Team für Wien', 'Regionalliga Ost/Wien', 'FAC' ], [ 'schwechat', 'SV Schwechat', 'Regionalliga Ost/Wien', 'SCH' ], [ 'wienersk', 'Wiener SK', 'Regionalliga Ost/Wien', 'WIE' ], [ 'ostbahn', 'SC Ostbahn XI', 'Regionalliga Ost/Wien', 'OST' ], [ 'oberwart', 'SV Oberwart', 'Regionalliga Ost/Bgld.', 'OBE' ], [ 'parndorf', 'SC/ESV Parndorf 1919', 'Regionalliga Ost/Bgld.', 'PAR' ], [ 'stegersbach', 'SV Stegersbach', 'Regionalliga Ost/Bgld.', 'STE' ] ] misc = [ [ 'wolfurt', 'FC Wolfurt', 'Vorarlberg Liga', 'WOL' ], [ 'schwaz', 'SC Schwaz', 'Tirol Liga', 'SCH' ], [ 'reutte', 'SV Reutte', 'Tirol Liga', 'REU' ], [ 'spittal', 'SV Spittal/Drau', 'Kärntner Liga', 'SPI' ], [ 'sak', 'SAK 1914', 'Salzburger Liga', 'SAK' ], [ 'dsc', 'Deutschlandsberger SC', 'Landesliga/Stmk.', 'DSC' ], [ 'micheldorf', 'SV Micheldorf', 'OÖ Liga', 'MIC' ], [ 'badvoeslau', 'ASK Bad Vöslau', 'Landesliga/NÖ', 'VOE' ], [ 'gaflenz', 'SV Gaflenz', 'Landesliga/NÖ', 'GAF' ], [ 'ardagger', 'Ardagger SCU', 'Landesliga/NÖ', 'ARD' ], [ 'rohrendorf', 'SC Rohrendorf', '2. Landesliga West/NÖ', 'ROH' ], [ 'heiligenkreuz', 'SV Heiligenkreuz', '2. Liga Süd/NÖ', 'HEI' ], [ 'viktoria', 'Wiener Viktoria|SC Wiener Viktoria', 'Wiener Stadtliga', 'VIK' ], [ 'juniors', 'FC RB Juniors Salzburg' ] ] at = Country.find_by_key!( 'at' ) Team.create_from_ary!( bl+ersteliga+rlwest+rlmitte+rlost+misc, club: true, country: at ) Prop.create!( key: 'db.at.teams.version', value: '1' )