Moving to GitHub.
[platal.git] / upgrade / newdirectory-0.0.1 / 09_education.sql
CommitLineData
c7eac294
SJ
1-- Updates diplomas
2UPDATE profile_education_degree_enum SET abbreviation = 'PhD', degree = 'Doctorat', level = 8 WHERE degree = 'PhD';
3UPDATE profile_education_degree_enum SET abbreviation = 'Lic.', level = 3 WHERE degree = 'Licence';
4UPDATE profile_education_degree_enum SET abbreviation = 'MSc', degree = 'Master of Science', level = 5 WHERE degree = 'MS';
5UPDATE profile_education_degree_enum SET abbreviation = 'DEA', degree = "Diplôme d'Études Approfondies", level = 5 WHERE degree = 'DEA';
6UPDATE profile_education_degree_enum SET abbreviation = 'ME', degree = 'Master of Economics', level = 5 WHERE degree = 'ME';
7UPDATE profile_education_degree_enum SET abbreviation = 'MBA', degree = 'Master of Business Administration', level = 5 WHERE degree = 'MBA';
8UPDATE profile_education_degree_enum SET abbreviation = 'MiF', degree = 'Master in Finance', level = 5 WHERE degree = 'MiF';
9UPDATE profile_education_degree_enum SET abbreviation = 'MPA', degree = 'Master of Public Administration', level = 5 WHERE degree = 'MPA';
10UPDATE profile_education_degree_enum SET abbreviation = 'MIA', degree = 'Master of International Affairs', level = 5 WHERE degree = 'MIA';
11UPDATE profile_education_degree_enum SET abbreviation = 'Corps', degree = 'Corps', level = 5 WHERE degree = 'Corps';
12UPDATE profile_education_degree_enum SET abbreviation = 'Ing.', degree = 'Ingénieur', level = 5 WHERE degree = 'Ingénieur';
13UPDATE profile_education_degree_enum SET abbreviation = 'Dipl.', degree = 'Diplôme', level = 0 WHERE degree = 'Diplôme';
14
15INSERT INTO profile_education_degree_enum (abbreviation, degree, level)
16 VALUES ('Agr.', 'Agrégation', 4), ('CAPES', 'Certificat d\'Aptitude au Professorat de l\'Enseignement du Second degré', 4),
17 ('DESS', 'Diplôme d\'Études Supérieures Spécialisées', 5), ('BTS', 'Brevet de Technicien Supérieur', 2), ('MA', 'Master of Arts', 5),
18 ('Maîtr.', 'Maîtrise', 4), ('HDR', 'Habilitation à Diriger des Recherches', 8), ('DEUG', 'Diplôme d\'Études Universitaires Générales', 2),
19 ('MEE', 'Master of Electrical Engineering', 5), ('MPhil', 'Master of Philosophy', 5), ('MUP', 'Master of Urban Planning', 5),
20 ('MME', 'Master of Mechanical Engineering', 5), ('MCP', 'Master of City Planning', 5), ('BA', 'Bachelor of Arts', 3),
21 ('MEl', 'Master of Electronics', 5), ('MM', 'Master of Management', 5), ('MIB', 'Master of International Business', 5),
22 ('MC', 'Master of Chemistry', 5), ('MEM', 'Master of Engineering in Manufacturing', 5), ('MEng', 'Master of Engineering', 5),
23 ('MCE', 'Master of Chemical Engineering', 5), ('M', 'Master', 5), ('MMS', 'Master of Military Studies', 5),
24 ('MSI', 'Master of Science in Information', 5),
25 ('DESCF', 'Diplôme d\'Études Supérieures Comptables et Financières', 5), ('MB', 'Master of Biotechnology', 5);
26
27-- Updates universities
28UPDATE profile_education_enum
b62be36b 29SET abbreviation = 'Université Claude Bernard', name = 'Université Claude Bernard (Lyon 1)'
0080843d
SJ
30WHERE name = 'Université Claude Bernard';
31UPDATE profile_education_enum
c7eac294
SJ
32SET abbreviation = 'Télécom', name = 'Télécom ParisTech', url = 'http://www.telecom-paristech.fr/'
33WHERE name = 'Télécom';
34UPDATE profile_education_enum
35SET abbreviation = 'ENGREF', name = 'École Nationale du Génie Rural des Eaux et des Forêts', url = 'http://www.agroparistech.fr/-Ecole-interne-ENGREF-.html'
36WHERE name = 'ENGREF';
37UPDATE profile_education_enum
38SET abbreviation = 'INSEE', name = 'Institut National de la Statistique et des Études Économiques'
39WHERE name = 'INSEE';
40UPDATE profile_education_enum
41SET abbreviation = 'Météo', name = 'École Nationale de la Météorologie'
42WHERE name = 'Météo';
43UPDATE profile_education_enum
44SET abbreviation = 'Mines', name = 'Mines ParisTech'
45WHERE name = 'Mines';
46UPDATE profile_education_enum
47SET abbreviation = 'Ponts', name = 'École des Ponts ParisTech'
48WHERE name = 'Ponts';
49UPDATE profile_education_enum
50SET abbreviation = 'ENSAE', name = 'École Nationale de la Statistique et de l\'Administration Économique ParisTech'
51WHERE name = 'ENSAE';
52UPDATE profile_education_enum
53SET abbreviation = 'ENSAM', name = 'Arts et Métiers ParisTech'
54WHERE name = 'ENSAM';
55UPDATE profile_education_enum
56SET abbreviation = 'ENSEEIHT', name = 'École Nationale Supérieure d\'Électrotechnique, d\'Électronique, d\'Informatique, d\'Hydraulique et des Télécommunications'
57WHERE name = 'ENSEEIHT';
58UPDATE profile_education_enum
59SET abbreviation = 'ENSIMAG', name = 'École Nationale Supérieure d\'Informatique et de Mathématiques Appliquées de Grenoble', url = 'http://ensimag.grenoble-inp.fr/'
60WHERE name = 'ENSIMAG';
61UPDATE profile_education_enum
62SET abbreviation = 'ENSTA', name = 'École Nationale Supérieure de Techniques Avancées'
63WHERE name = 'ENSTA';
64UPDATE profile_education_enum
65SET abbreviation = 'ENSPM', name = 'École Nationale Supérieure du Pétrole et des Moteurs'
66WHERE name = 'ENSPM';
67UPDATE profile_education_enum
68SET abbreviation = 'INAPG', name = 'Institut National Agronomique Paris-Grignon', url = 'http://www.agroparistech.fr/'
69WHERE name = 'INAPG';
70UPDATE profile_education_enum
71SET abbreviation = 'HEC', name = 'École des Hautes Études Commerciales'
72WHERE name = 'HEC';
73UPDATE profile_education_enum
74SET abbreviation = 'X', name = 'École polytechnique', url = 'http://www.polytechnique.edu/'
75WHERE name = 'X';
76UPDATE profile_education_enum
77SET abbreviation = 'SUPAERO', name = 'École Nationale Supérieure de l\'Aéronautique et de l\'Espace', url = 'http://www.isae.fr/'
78WHERE name = 'Supaéro';
79UPDATE profile_education_enum
80SET abbreviation = 'SupOptique', name = 'Institut d\'Optique Théorique et Appliquée'
81WHERE name = 'Supoptique';
82UPDATE profile_education_enum
83SET abbreviation = 'Supélec', name = 'École Supérieure d\'Électricité'
84WHERE name = 'Supélec';
85UPDATE profile_education_enum
86SET abbreviation = 'ENA', name = 'École Nationale d\'Administration'
87WHERE name = 'ENA';
88UPDATE profile_education_enum
89SET abbreviation = 'INSEAD', name = 'Institut Européen d\'Administration des Affaires', url = 'http://www.insead.edu/'
90WHERE name = 'INSEAD';
91UPDATE profile_education_enum
92SET abbreviation = 'Chimie Paris', name = 'Chimie Paris ParisTech', url = 'http://www.enscp.fr/'
93WHERE name = 'Chimie Paris';
94UPDATE profile_education_enum
95SET abbreviation = 'INSTN', name = 'Institut National des Sciences et Techniques Nucléaires'
96WHERE name = 'INSTN';
97UPDATE profile_education_enum
98SET abbreviation = 'UMPC', name = 'Université Pierre-et-Marie-Curie (Paris-VI)', url = 'http://www.upmc.fr/'
99WHERE name = 'Univ Paris 6 (Pierre et Marie Curie - Jussieu)';
100UPDATE profile_education_enum
101SET abbreviation = 'Paris-Sud', name = 'Université Paris-Sud (Paris-XI)'
102WHERE name = 'Univ Paris 11 (Orsay)';
103UPDATE profile_education_enum
104SET abbreviation = 'Paris-Diderot', name = 'Université Denis Diderot (Paris-VII)', url = 'http://www.univ-paris7.fr/'
105WHERE name = 'Univ Paris 7 (Denis Diderot - Jussieu)';
106UPDATE profile_education_enum
107SET abbreviation = 'Dauphine', name = 'Université de Technologie en Sciences des Organisations et de la Décision de Paris-Dauphine (Paris-IX)'
108WHERE name = 'Univ Paris 9 (Dauphine)';
109UPDATE profile_education_enum
110SET abbreviation = 'Panthéon-Sorbonne', name = 'Université Panthéon-Sorbonne (Paris-I)'
111WHERE name = 'Univ Paris 1 (Panthéon-Sorbonne)';
112UPDATE profile_education_enum
113SET abbreviation = 'Nanterre', name = 'Université de Paris Ouest - Nanterre La Défense (Paris-X)'
114WHERE name = 'Univ Paris 10 (Nanterre)';
115UPDATE profile_education_enum
116SET abbreviation = 'Paris-Descartes', name = 'Université Paris Descartes (Paris-V)'
117WHERE name = 'Univ Paris 5 (René Descartes)';
118UPDATE profile_education_enum
119SET abbreviation = 'Sorbonne Nouvelle', name = 'Université Sorbonne Nouvelle (Paris-III)'
120WHERE name = 'Univ Paris 3 (Sorbonne Nouvelle)';
121UPDATE profile_education_enum
122SET abbreviation = 'Vincennes-Saint-Denis', name = 'Université de Vincennes à Saint-Denis (Paris-VIII)'
123WHERE name = 'Univ Paris 8 (Vincennes - Saint Denis)';
124UPDATE profile_education_enum
125SET abbreviation = 'Paris-Val de Marne', name = 'Université Paris-Val de Marne (Paris-XII)'
126WHERE name = 'Univ Paris 12 (Val de Marne)';
127UPDATE profile_education_enum
128SET abbreviation = 'Paris-Nord', name = 'Université Paris-Nord (Paris-XIII)'
129WHERE name = 'Univ Paris 13 (Nord)';
130UPDATE profile_education_enum
131SET abbreviation = 'Paris-Sorbonne', name = 'Université Paris-Sorbonne (Paris-IV)'
132WHERE name = 'Univ Paris 4 (Sorbonne)';
133UPDATE profile_education_enum
134SET abbreviation = 'Assas', name = 'Université Panthéon-Assas (Paris-II)'
135WHERE name = 'Univ Paris 2 (Panthéon - Assas)';
136UPDATE profile_education_enum
137SET abbreviation = 'CDI', name = 'Collège des Ingénieurs'
138WHERE name = 'Collège des Ingénieurs';
139UPDATE profile_education_enum
140SET abbreviation = 'ENS Ulm', name = 'École Normale Supérieure'
141WHERE name = 'ENS Ulm';
142UPDATE profile_education_enum
143SET abbreviation = 'ENS Lyon', name = 'École Normale Supérieure de Lyon '
144WHERE name = 'ENS Lyon';
145UPDATE profile_education_enum
146SET abbreviation = 'ENS Cachan', name = 'École Normale Supérieure de Cachan'
147WHERE name = 'ENS Cachan';
148UPDATE profile_education_enum
20d889a6 149SET abbreviation = 'ESPCI', name = 'ESPCI ParisTech'
c7eac294
SJ
150WHERE name = 'ESPCI';
151UPDATE profile_education_enum
152SET abbreviation = 'Sciences Po', name = 'Institut d\'Études Politiques de Paris'
153WHERE name = 'IEP Paris';
154UPDATE profile_education_enum
f54f7ebc 155SET abbreviation = 'Sciences Po Aix', name = 'Institut d\'Études Politiques d\'Aix-en-Provence'
ff900fde 156WHERE name = 'IEP Aix';
f54f7ebc 157UPDATE profile_education_enum
c7eac294
SJ
158SET abbreviation = 'EHESS', name = 'École des Hautes Études en Sciences Sociales'
159WHERE name = 'EHESS';
160UPDATE profile_education_enum
161SET abbreviation = 'ENSIC', name = 'École Nationale Supérieure des Industries Chimiques'
162WHERE name = 'ENSIC';
163UPDATE profile_education_enum
164SET abbreviation = 'Grenoble INP', name = 'Institut Polytechnique de Grenoble', url = 'http://www.grenoble-inp.fr/'
165WHERE name = 'INPG';
166UPDATE profile_education_enum
b62be36b
SJ
167SET abbreviation = 'UJF'
168WHERE name = 'Université Joseph-Fourier (Grenoble 1)';
169UPDATE profile_education_enum
c7eac294
SJ
170SET abbreviation = 'ESSEC', name = 'École Supérieure des Sciences Économiques et Commerciales'
171WHERE name = 'ESSEC';
172UPDATE profile_education_enum
173SET abbreviation = 'INPL', name = 'Institut National Polytechnique de Lorraine'
174WHERE name = 'INPL';
175UPDATE profile_education_enum
176SET abbreviation = 'ENSAPB', name = 'École Nationale Supérieure d\'Architecture de Paris-Belleville'
177WHERE name = 'EAPB (Ecole Architecture Paris Belleville)';
178UPDATE profile_education_enum
179SET abbreviation = 'ENSAPLV', name = 'École Nationale Supérieure d\'Architecture de Paris-La Villette'
180WHERE name = 'EAPLV (Ecole Architecture Paris La Villette)';
181UPDATE profile_education_enum
182SET abbreviation = 'EAVT', name = 'École d\'Architecture de la Ville et des Territoires à Marne-la-Vallée'
183WHERE name = 'EAVT (Ecole d\'architecture de Marne La Vallee)';
184UPDATE profile_education_enum
185SET abbreviation = 'ENSP', name = 'École Nationale Supérieure du Paysage'
186WHERE name = 'ENSP Versailles';
187UPDATE profile_education_enum
188SET abbreviation = '', name = 'École Nationale Supérieure du Génie Maritime', url = 'http://www.ensta.fr/'
189WHERE name = 'Génie maritime (Ecole nationale supérieur du)';
190UPDATE profile_education_enum
191SET abbreviation = 'CPA de Paris', name = 'Centre de Perfectionnement aux Affaires de Paris', url = ''
192WHERE name = 'Centre de Perfectionnement aux Affaires';
193UPDATE profile_education_enum
194SET abbreviation = '', name = 'ESCP-EAP', url = 'http://www.escp-eap.eu/'
195WHERE name = 'ESCP-EAP';
196UPDATE profile_education_enum
197SET abbreviation = 'CEPE', name = 'Centre d\'Études des Programmes Économiques'
198WHERE name = 'CEPE';
199UPDATE profile_education_enum
200SET abbreviation = '', name = 'Institut des Actuaires', url = 'http://www.institutdesactuaires.com/'
201WHERE name = 'Institut des actuaires';
202UPDATE profile_education_enum
203SET abbreviation = 'CEIPI', name = 'Centre d\'Études Internationales de la Propriété Industrielle'
204WHERE name = 'CEIPI';
205UPDATE profile_education_enum
206SET abbreviation = 'Université Paul-Sabatier', name = 'Université Paul-Sabatier (Toulouse III)'
207WHERE name = 'Univ Toulouse III (Paul Sabatier)';
208UPDATE profile_education_enum
209SET abbreviation = 'Université de Provence', name = 'Université de Provence (Aix-Marseille I)'
210WHERE name = 'Université de Provence';
211UPDATE profile_education_enum
212SET abbreviation = 'INSA Rouen', name = 'Institut National des Sciences Appliquées de Rouen'
213WHERE name = 'INSA Rouen';
214UPDATE profile_education_enum
215SET abbreviation = 'IAE de Paris', name = 'Institut d\'Administration des Entreprises de Paris', url = 'http://iae.univ-paris1.fr/'
216WHERE name = 'Institut d\'Administration des Entreprises';
d0293d9b 217UPDATE profile_education_enum
e05a9b20
SJ
218SET abbreviation = 'CNSMDP', name = 'Conservatoire National Supérieur de Musique et de Danse de Paris'
219WHERE name = 'Conservatoire national supérieur de musique et de danse de Paris';
d0293d9b 220UPDATE profile_education_enum
e05a9b20
SJ
221SET name = 'École Normale de Musique de Paris'
222WHERE name = 'École normale de musique de Paris';
f6cb8574
SJ
223UPDATE profile_education_enum
224SET abbreviation = 'ENSMN'
225WHERE name = 'École Nationale Supérieure des Mines de Nancy';
c7eac294
SJ
226
227UPDATE profile_education_enum
9a30e563
SJ
228SET abbreviation = 'NDU', country = 'US'
229WHERE name = 'National Defense University';
230UPDATE profile_education_enum
231SET abbreviation = 'Brown', country = 'US'
232WHERE name = 'Brown University';
233UPDATE profile_education_enum
c7eac294
SJ
234SET abbreviation = 'Berkeley', name = 'University of California, Berkeley', country = 'US'
235WHERE name = 'Univ Berkeley';
236UPDATE profile_education_enum
237SET abbreviation = 'CalTech', name = 'California Institute of Technology', country = 'US'
238WHERE name = 'CalTech';
239UPDATE profile_education_enum
240SET abbreviation = 'MIT', name = 'Massachusetts Institute of Technology', country = 'US'
241WHERE name = 'Massachusetts Institute of Technology';
242UPDATE profile_education_enum
243SET abbreviation = 'Cornell', name = 'Cornell University', country = 'US'
244WHERE name = 'Univ Cornell';
245UPDATE profile_education_enum
246SET abbreviation = 'Stanford', name = 'Stanford University', country = 'US'
247WHERE name = 'Univ Stanford';
248UPDATE profile_education_enum
249SET abbreviation = 'UCLA', name = 'University of California, Los Angeles', country = 'US'
250WHERE name = 'Univ UCLA';
251UPDATE profile_education_enum
252SET abbreviation = '', name = 'University of Illinois', country = 'US'
253WHERE name = 'Univ Illinois';
254UPDATE profile_education_enum
255SET abbreviation = 'Michigan', name = 'University of Michigan, Ann Arbor', country = 'US'
256WHERE name = 'Univ Michigan';
257UPDATE profile_education_enum
258SET abbreviation = '', name = 'Seattle University', country = 'US'
259WHERE name = 'Univ Seattle';
260UPDATE profile_education_enum
261SET abbreviation = 'UGA', name = 'University of Georgia', country = 'US'
262WHERE name = 'Univ Georgia';
263UPDATE profile_education_enum
264SET abbreviation = 'UT Austin', name = 'University of Texas at Austin', country = 'US'
265WHERE name = 'Univ Texas';
266UPDATE profile_education_enum
267SET abbreviation = 'RIP', name = 'Rensselaer Polytechnic Institute', country = 'US'
268WHERE name = 'Univ Rensselaer';
269UPDATE profile_education_enum
270SET abbreviation = 'NYU', name = 'New York University', country = 'US'
271WHERE name = 'Univ New York';
272UPDATE profile_education_enum
273SET abbreviation = 'Harvard', name = 'Harvard University', country = 'US'
274WHERE name = 'Univ Harvard';
275UPDATE profile_education_enum
276SET abbreviation = 'The Wharton School', name = 'The Wharton School of the University of Pennsylvania', country = 'US', url = 'http://www.wharton.upenn.edu/'
277WHERE name = 'Univ Wharton';
278UPDATE profile_education_enum
f2b2b26c
SJ
279SET country = 'US'
280WHERE name = 'University of Pennsylvania';
281UPDATE profile_education_enum
c7eac294
SJ
282SET abbreviation = 'Columbia University', name = 'Columbia University in the City of New York', country = 'US'
283WHERE name = 'Univ Columbia';
284UPDATE profile_education_enum
285SET abbreviation = 'WSBS', name = 'Watson School of Biological Sciences', country = 'US'
286WHERE name = 'Watson School of Biological Sciences';
287UPDATE profile_education_enum
288SET abbreviation = '', name = 'Colorado School of Mines', country = 'US'
289WHERE name = 'Univ Colorado School of Mines';
290UPDATE profile_education_enum
291SET abbreviation = 'Princeton', name = 'Princeton University', country = 'US'
292WHERE name = 'Univ Princeton';
293UPDATE profile_education_enum
294SET abbreviation = 'Georgia Tech', name = 'Georgia Institute of Technology', country = 'US'
295WHERE name = 'GeorgiaTech';
296UPDATE profile_education_enum
297SET abbreviation = 'JHU', name = 'Johns Hopkins University', country = 'US'
298WHERE name = 'Univ Johns Hopkins';
299UPDATE profile_education_enum
300SET abbreviation = '', name = 'University of Chicago', country = 'US'
301WHERE name = 'Univ Chicago';
302UPDATE profile_education_enum
303SET abbreviation = 'Yale', name = 'Yale University', country = 'US'
304WHERE name = 'Univ Yale';
305UPDATE profile_education_enum
306SET abbreviation = 'TAMU', name = 'Texas A&M University', country = 'US'
307WHERE name = 'Texas A&M University';
308UPDATE profile_education_enum
309SET abbreviation = 'UCSB', name = 'University of California, Santa Barbara', country = 'US'
310WHERE name = 'Univ Santa-Barbara';
311UPDATE profile_education_enum
312SET abbreviation = 'Kellogg', name = 'Kellogg School of Management', country = 'US'
313WHERE name = 'Kellogg School of Management';
314UPDATE profile_education_enum
315SET abbreviation = '', name = 'University of Iowa', country = 'US'
316WHERE name = 'Univ Iowa';
317UPDATE profile_education_enum
318SET abbreviation = 'UW-Madison', name = 'University of Wisconsin-Madison', country = 'US', url = 'http://www.wisc.edu/'
319WHERE name = 'Univ Wisconsin-Madison';
320UPDATE profile_education_enum
321SET abbreviation = 'UCSD', name = 'University of California, San Diego', country = 'US'
322WHERE name = 'Univ San Diego';
323UPDATE profile_education_enum
324SET abbreviation = 'NU', name = 'Northwestern University', country = 'US'
325WHERE name = 'Univ Northwestern';
326UPDATE profile_education_enum
327SET abbreviation = 'CU', name = 'University of Colorado at Boulder', country = 'US'
328WHERE name = 'Univ Colorado at Boulder';
329UPDATE profile_education_enum
330SET abbreviation = 'CMU', name = 'Carnegie Mellon University', country = 'US'
331WHERE name = 'Univ Carnegie Mellon';
332UPDATE profile_education_enum
333SET abbreviation = 'Carolina', name = 'University of North Carolina at Chapel Hill', country = 'US'
334WHERE name = 'Univ of North Carolina at Chapel Hill';
20f354f5
SJ
335UPDATE profile_education_enum
336SET abbreviation = 'UM', country = 'US'
337WHERE name = 'University of Miami';
2de139ad
SJ
338UPDATE profile_education_enum
339SET country = 'US'
340WHERE name = 'Purdue University';
1831341c 341UPDATE profile_education_enum
b491caf2
SJ
342SET abbreviation = 'CFA Institute', name = 'Chartered Financial Analyst Institute', country = 'US'
343WHERE name = 'CFA Institute';
c7eac294 344
f2b94b09
SJ
345
346UPDATE profile_education_enum
347SET country = 'HK', abbreviation = 'CityU'
348WHERE name = 'City University of Hong Kong';
349
c7eac294
SJ
350UPDATE profile_education_enum
351SET abbreviation = 'TU Berlin', name = 'Technische Universität Berlin', country = 'DE'
352WHERE name = 'Univ TU Berlin';
353UPDATE profile_education_enum
354SET abbreviation = 'TU Darmstadt', name = 'Technische Universität Darmstadt', country = 'DE'
355WHERE name = 'Univ TU Darmstadt';
356UPDATE profile_education_enum
357SET abbreviation = 'TU München', name = 'Technische Universität München', country = 'DE'
358WHERE name = 'Univ TU München';
359UPDATE profile_education_enum
360SET abbreviation = 'Universität Karlsruhe', name = 'Universität Karlsruhe (TH)', country = 'DE'
361WHERE name = 'Univ Karlsruhe';
362UPDATE profile_education_enum
363SET abbreviation = 'RWTH', name = 'RWTH Aachen University', country = 'DE'
364WHERE name = 'Univ RWTH-Aachen';
365UPDATE profile_education_enum
366SET abbreviation = '', name = 'Universität Stuttgart', country = 'DE'
367WHERE name = 'Univ Stuttgart';
368
369UPDATE profile_education_enum
370SET abbreviation = 'EPM', name = 'École Polytechnique de Montréal', country = 'CA'
371WHERE name = 'EP Montréal';
372UPDATE profile_education_enum
373SET abbreviation = 'UBC', name = 'University of British Columbia', country = 'CA'
374WHERE name = 'Univ British Columbia';
375UPDATE profile_education_enum
376SET abbreviation = 'McGill', name = 'McGill University', country = 'CA'
377WHERE name = 'Univ McGill';
378UPDATE profile_education_enum
379SET abbreviation = 'UQÀM', name = 'Université du Québec à Montréal', country = 'CA' WHERE id = 125;
380
381UPDATE profile_education_enum
382SET abbreviation = 'UPC', name = 'Universitat Politècnica de Catalunya', country = 'ES'
383WHERE name = 'Univ Catalunya';
384UPDATE profile_education_enum
385SET abbreviation = 'UPM', name = 'Universidad Politècnica de Madrid', country = 'ES'
386WHERE name = 'Univ Madrid';
387UPDATE profile_education_enum
388SET abbreviation = 'UPF', name = 'Universitat Pompeu Fabra', country = 'ES'
389WHERE name = 'Univ Pompeu Fabra';
3e1d61f7
SJ
390UPDATE profile_education_enum
391SET abbreviation = 'IE', country = 'ES'
392WHERE name = 'Instituto de Empresa';
c7eac294
SJ
393
394UPDATE profile_education_enum
395SET abbreviation = 'Chalmers', name = 'Chalmers Tekniska Högskola', country = 'SE'
396WHERE name = 'Univ Chalmers';
397UPDATE profile_education_enum
398SET abbreviation = 'KTH', name = 'Kungliga Tekniska Högskolan', country = 'SE'
399WHERE name = 'Univ KTH';
400UPDATE profile_education_enum
401SET abbreviation = '', name = 'Stockholms Universitet', country = 'SE'
402WHERE name = 'Univ Stockholm';
403
404UPDATE profile_education_enum
405SET abbreviation = 'TU Delft', name = 'Technische Universiteit Delft', country = 'NL'
406WHERE name = 'Univ TU Delft';
407UPDATE profile_education_enum
408SET abbreviation = 'RSM', name = 'Rotterdam School of Management, Erasmus University', country = 'NL'
409WHERE name = 'RSM';
410UPDATE profile_education_enum
411SET abbreviation = '', name = 'Universiteit Leiden', country = 'NL'
412WHERE name = 'Univ Leiden';
413
414UPDATE profile_education_enum
415SET abbreviation = '', name = 'Kyoto University', country = 'JP'
416WHERE name = 'Univ Kyoto';
417UPDATE profile_education_enum
418SET abbreviation = 'Todai', name = 'University of Tokyo', country = 'JP'
419WHERE name = 'Univ Tokyo';
420UPDATE profile_education_enum
421SET abbreviation = 'Tokyo Tech', name = 'Tokyo Institute of Technology', country = 'JP'
422WHERE name = 'Tokyo Institute of Technology';
423
424UPDATE profile_education_enum
425SET abbreviation = 'UNIL', name = 'Université de Lausanne', country = 'CH'
426WHERE name = 'Univ Lausanne';
427UPDATE profile_education_enum
428SET abbreviation = '', name = 'Universität Zürich', country = 'CH'
429WHERE name = 'Univ Zürich';
430UPDATE profile_education_enum
431SET abbreviation = 'EPFL', name = 'École Polytechnique Fédérale de Lausanne', country = 'CH'
432WHERE name = 'EP Fédérale Lausanne';
433UPDATE profile_education_enum
434SET abbreviation = 'IMD', name = 'International Institute for Management Development', country = 'CH'
435WHERE name = 'Institute for Management Development';
436UPDATE profile_education_enum
437SET abbreviation = 'ETH Zürich', name = 'Eidgenössische Technische Hochschule Zürich', country = 'CH'
438WHERE name = 'ETH Zürich';
439
440UPDATE profile_education_enum
441SET abbreviation = 'UNIMI', name = 'Università degli Studi di Milano', country = 'IT'
442WHERE name = 'Univ Milano';
443UPDATE profile_education_enum
444SET abbreviation = 'UNITO', name = 'Università degli Studi di Torino', country = 'IT'
445WHERE name = 'Univ Torino';
446UPDATE profile_education_enum
447SET abbreviation = '', name = 'Politecnico di Milano', country = 'IT'
448WHERE name = 'Politecnico di Milano';
449UPDATE profile_education_enum
450SET abbreviation = 'EUI', name = 'European University Institute', country = 'IT'
451WHERE name = 'Institut Universitaire Européen';
452UPDATE profile_education_enum
453SET abbreviation = 'Università Bocconi', name = 'Università Commerciale Luigi Bocconi', url = 'http://www.unibocconi.it/', country = 'IT'
454WHERE name = 'Université Bocconi';
455
456UPDATE profile_education_enum
457SET abbreviation = 'MGU', name = 'Lomonosov Moscow State University', country = 'RU'
458WHERE name = 'Univ Moscow (lomonosov)';
459UPDATE profile_education_enum
460SET abbreviation = 'Bauman MSTU', name = 'Bauman Moscow State Technical University', country = 'RU', url = 'http://www.bmstu.ru/'
461WHERE name = 'Univ Moscow (Bauman)';
462
463UPDATE profile_education_enum
464SET abbreviation = 'Technion', name = 'Israel Institute of Technology', country = 'IL'
465WHERE name = 'Univ Technion';
7c4e0f19
SJ
466UPDATE profile_education_enum
467SET abbreviation = '', name = 'Weizmann Institute of Science', country = 'IL'
468WHERE name = 'Institut Weizmann';
c7eac294
SJ
469
470UPDATE profile_education_enum
471SET abbreviation = 'Oxford', name = 'University of Oxford', country = 'GB'
472WHERE name = 'Univ Oxford';
473UPDATE profile_education_enum
474SET abbreviation = '', name = 'London Business School', country = 'GB'
475WHERE name = 'London Business School';
476UPDATE profile_education_enum
477SET abbreviation = 'LSE', name = 'The London School of Economics and Political Science', country = 'GB'
478WHERE name = 'London School of Economics';
479UPDATE profile_education_enum
480SET abbreviation = 'Cambridge', name = 'University of Cambridge', country = 'GB'
481WHERE name = 'Univ Cambridge';
482UPDATE profile_education_enum
483SET abbreviation = 'Imperial College', name = 'Imperial College London', country = 'GB', url = 'http://www3.imperial.ac.uk/'
484WHERE name = 'Imperial College';
485UPDATE profile_education_enum
486SET abbreviation = 'Henley', name = 'Henley Management College', country = 'GB', url = 'http://www.henley.reading.ac.uk/'
487WHERE name = 'Henley Management College';
488UPDATE profile_education_enum
489SET abbreviation = '', name = 'University of Southampton', country = 'GB', url = 'http://www.soton.ac.uk/'
490WHERE name = 'Univ Southampton';
491UPDATE profile_education_enum
492SET abbreviation = '', name = 'Cardiff University', country = 'GB'
493WHERE name = 'Univ Cardiff';
494
495UPDATE profile_education_enum
496SET abbreviation = 'UNSW', name = 'The University of New South Wales', country = 'AU'
497WHERE name = 'Univ New South Wales (Sydney Australia)';
235e6afd
SJ
498UPDATE profile_education_enum
499SET abbreviation = 'USyd', country = 'AU'
500WHERE name = 'University of Sydney';
c7eac294
SJ
501
502UPDATE profile_education_enum
503SET abbreviation = 'THU', name = 'Tsinghua University', country = 'CN'
504WHERE name = 'Univ Tsinghua';
505
506UPDATE profile_education_enum
507SET abbreviation = 'NUS', name = 'National University of Singapore', country = 'SG'
508WHERE name = 'National University of Singapore';
509
510UPDATE profile_education_enum
511SET abbreviation = 'NTNU', name = 'Norwegian University of Science and Technology', country = 'NO', url = 'http://www.ntnu.no/'
512WHERE name = 'Univ Trondheim';
513
a5c84ccb
SJ
514UPDATE profile_education_enum
515SET abbreviation = '', country = 'GB'
516WHERE name = 'University of Surrey';
517UPDATE profile_education_enum
4a938dfb
SJ
518SET abbreviation = '', country = 'GB'
519WHERE name = 'Heriot-Watt University';
7c4e0f19
SJ
520UPDATE profile_education_enum
521SET abbreviation = 'UCL', country = 'GB'
522WHERE name = 'University College London';
4a938dfb
SJ
523
524UPDATE profile_education_enum
a5c84ccb
SJ
525SET abbreviation = 'OIV', country = 'FR'
526WHERE name = 'Organisme International de la Vigne et du Vin';
527UPDATE profile_education_enum
528SET abbreviation = 'NSU', name = 'Novosibirsk State University', url = 'http://www.nsu.ru/', country = 'RU'
529WHERE name = 'Université de Novossibirsk (Новосибирский Государственный Университет)';
530
08a10e30
SJ
531UPDATE profile_education_enum
532SET abbreviation = 'IITs', country = 'IN'
533WHERE name = 'Indian Institutes of Technology';
534
da496b37
SJ
535UPDATE profile_education_enum
536SET name = 'Institut des Hautes Études de Défense Nationale', country = 'FR', url ='http://www.ihedn.fr/',
537abbreviation = 'IHEDN'
538WHERE name = 'IHEDN';
539
540UPDATE profile_education_enum
541SET name = "Centre des Hautes Études de l'Armement", country = 'FR', url ='http://www.chear.defense.gouv.fr/',
d0293d9b 542abbreviation = 'CHEAr'
da496b37
SJ
543WHERE name = 'CHEAr';
544
c7eac294
SJ
545-- Cleans duplicated entries
546UPDATE profile_education SET eduid = 0 WHERE eduid = 70;
547DELETE FROM profile_education_enum WHERE id = 70;
548DELETE FROM profile_education_degree WHERE eduid = 70;
549
550UPDATE profile_education SET eduid = 91 WHERE eduid = 106;
551DELETE FROM profile_education_enum WHERE id = 106;
552DELETE FROM profile_education_degree WHERE eduid = 106;
553
554-- Adds new universities needed for the AX directory
555INSERT INTO profile_education_enum (name, url, country, abbreviation)
556 VALUES ('Institut Supérieur de l\'Aéronautique et de l\'Espace', 'http://www.isae.fr/', 'FR', 'ISAE'),
c7eac294
SJ
557 ('École du Personnel Navigant d\'Essais et de Réception',
558 'http://www.defense.gouv.fr/dga/archives/l_epner_ecole_du_personnel_navigant_d_essais_et_de_reception', 'FR', 'EPNER'),
559 ('Agrocampus Ouest', 'http://www.agrocampus-ouest.fr/', 'FR', 'ENSAR'),
560 ('Montpellier SupAgro', 'http://www.supagro.fr/', 'fr', ''),
561 ('Institut Supérieur des Matériaux et de la Construction Mécanique Saint-Ouen', 'http://www.cefi.org/BOUCHON/BS/ISMCM_Saint-Ouen.htm',
562 'FR', 'ISMCM Saint-Ouen'),
563 ('École Centrale d\'Électronique ', 'http://www.ece.fr/', 'FR', 'ECE'),
564 ('École Nationale de l\'Aviation Civile', 'http://www.enac.fr/', 'FR', 'ENAC'),
565 ('Centre des Hautes Études de la Construction', 'http://www.chec.fr/', 'FR', 'CHEC'),
566 ('École de l\'Air', 'http://www.ecole-air.air.defense.gouv.fr/index.php?option=com_content&task=view&id=203&Itemid=251', 'FR', ''),
567 ('Institut Supérieur des Affaires', '', 'FR', 'ISA'),
568 ('École Supérieure de Gestion de Paris', 'http://www.esg.fr/', 'FR', 'ESG Paris'),
569 ('Institut des Hautes Études Européennes', 'http://www-ihee.u-strasbg.fr/', 'FR', 'IHEE'),
570 ('École Nationale de la Magistrature', 'http://www.enm.justice.fr/', 'FR', 'ENM'),
571 ('Institut de Formation Supérieure BioMédicale', 'http://www.igr.fr/ifsbm/', 'FR', 'IFSBM'),
572 ('Institut Supérieur de l\'AgroAlimentaire', 'http://www.isaa.fr/', 'FR', 'ISAA'),
573 ('École des Mines d\'Alès', 'http://www.ema.fr/', 'FR', 'EMA'),
574 ('Syracuse University', 'http://www.syr.edu/', 'US', 'SU'),
575 ('Dartmouth College', 'http://www.dartmouth.edu/', 'US', ''),
576 ('International Teachers Programme', 'http://www.itp-schools.org/', '', 'ITP'),
577 ('University of Kentucky', 'http://www.uky.edu/', 'US', 'UK'),
578 ('Marine Corps University', 'http://www.mcu.usmc.mil/', 'US', 'MCU'),
579 ('Chartered Institute of Management Accountants', 'http://www.cimaglobal.com/', 'GB', 'CIMA'),
c7eac294
SJ
580 ('Naval Postgraduate School', 'http://www.nps.edu/', 'US', 'NPS'),
581 ('Royal College of Art', 'http://www.rca.ac.uk/', 'GB', 'RCA'),
582 ('Uniwersytet Gdański', 'http://www.univ.gda.pl/', 'PL', ''),
583 ('College of Europe', 'http://www.coleurope.eu/', '', ''),
c7eac294
SJ
584 ('Queen\'s University', 'http://www.queensu.ca/', 'CA', 'Queen\'s'),
585 ('Université de Bretagne Occidentale', 'http://www.univ-brest.fr/', 'FR', 'UBO'),
586 ('University of California, Davis', 'http://www.ucdavis.edu/', 'US', 'UC Davis'),
587 ('Universität Stuttgarti', 'http://www.uni-stuttgart.de/', 'DE', ''),
588 ('Universitatea Politehnica din Bucureşti', 'http://www.pub.ro/', 'RO', 'Politehnica din Bucureşti'),
589 ('University of Birmingham', 'http://www.bham.ac.uk/', 'GB', ''),
c7eac294
SJ
590 ('University of Rome', '', 'IT', ''),
591 ('University of Sheffield', 'http://www.shef.ac.uk/', 'GB', ''),
592 ('University of Utah', 'http://www.utah.edu/', 'US', ''),
593 ('University of Washington', 'http://www.washington.edu/', 'US', ''),
594 ('Urbana University', 'http://www.urbana.edu/', 'US', ''),
595 ('Université de Technologie de Compiègne', 'http://www.utc.fr/', 'FR', 'UTC'),
596 ('Virginia Polytechnic Institute and State University', 'http://www.vt.edu/', 'US', 'Virginia Tech'),
c7eac294
SJ
597 ('Cleveland State University', 'http://www.csuohio.edu/', 'US', 'CSU'),
598 ('Centre de Perfectionnement aux Affaires du Nord', '', 'FR', 'CPA du Nord'),
599 ('Centre de Perfectionnement aux Affaires de Lyon', '', '', 'CPA de Lyon'),
483cbf2c 600 ('Amherst College', 'http://www.amherst.edu/', 'US', ''),
c7eac294
SJ
601 ('Ottawa University', 'http://www.ottawa.edu/', 'US', 'OU'),
602 ('Indiana University', 'http://www.indiana.edu/', 'US', ''),
603 ('University of Notre Dame du Lac', 'http://www.nd.edu/', 'US', 'Notre Dame'),
604 ('University of Maryland, College Park ', 'http://www.umd.edu/', 'US', 'UMCP'),
605 ('Vanderbilt University', 'http://www.vanderbilt.edu/', 'US', ''),
606 ('Institut National Polytechnique de Toulouse', 'http://www.inp-toulouse.fr/', 'FR', 'INP Toulouse'),
607 ('University of Houston', 'http://www.uh.edu/', 'US', 'UH'),
608 ('École Spéciale des Travaux Publics, du Bâtiment et de l\'Industrie', 'http://www.estp.fr/', 'FR', 'ESTP'),
609 ('Université Jean-Moulin (Lyon-III)', 'http://www.univ-lyon3.fr/', 'FR', 'Université Jean-Moulin'),
610 ('École Nationale Supérieure d\'Ingénieurs Électriciens de Grenoble', 'http://ense3.grenoble-inp.fr/', 'FR', 'ENSIEG'),
611 ('École Nationale Supérieure d\'Hydraulique et de Mécanique de Grenoble', 'http://ense3.grenoble-inp.fr/', 'FR', 'ENSHMG'),
612 ('Université de Rennes 1', 'http://www.univ-rennes1.fr/', 'FR', ''),
613 ('École Centrale Paris', 'http://www.ecp.fr/', 'FR', 'Centrale Paris'),
614 ('University of Dallas', 'http://www.udallas.edu/', 'US', ''),
615 ('Pontifical Catholic University of Chile', 'http://www.uc.cl/', 'CL', 'PUC'),
616 ('Universitat Oberta de Catalunya', 'http://www.uoc.edu/web/eng/', 'ES', 'UOC'),
617 ('University of California, Irvine', 'http://www.uci.edu/', 'US', 'UCI'),
618 ('Association Francophone de Management de Projet', 'http://www.afitep.fr/', 'FR', 'AFITEP'),
619 ('Centre Européen d\'Éducation Permanente', 'http://www.cedep.fr/', 'FR', 'CEDEP'),
620 ('Collège Interarmées de Défense', 'http://www.college.interarmees.defense.gouv.fr/', 'FR', ''),
621 ('Centre de Formation des Journalistes', 'http://www.cfpj.com/', 'FR', 'CFJ'),
a5c84ccb
SJ
622 ('Institut National des Hautes Études de Sécurité', 'http://www.inhes.interieur.gouv.fr/', 'FR', 'INHES'),
623 ('Université d\'Orléans', 'http://www.univ-orleans.fr/', 'FR', '');
c7eac294 624
50b27846
SJ
625
626-- Médecine is not a university but an educational field
ce0b2c6f 627REPLACE INTO profile_education (pid, id, fieldid, eduid, degreeid)
c4532232 628 SELECT e.pid, e.id, f.id, 0, d.id
50b27846
SJ
629 FROM profile_education AS e
630 INNER JOIN profile_education_enum AS l ON (l.id = e.eduid)
631 INNER JOIN profile_education_degree_enum AS d ON (d.degree = "Doctorat")
632 INNER JOIN profile_education_field_enum AS f ON (f.field = "Médecine")
633 WHERE l.name = "Médecine";
634
635DELETE FROM profile_education_enum
636 WHERE name = "Médecine";
637
c7eac294
SJ
638# vim:set syntax=mysql:
639