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