From: Florent Bruneau Date: Wed, 24 Feb 2010 21:03:53 +0000 (+0100) Subject: Fix invalid reference to profile_education.pid X-Git-Tag: xorg/1.0.0~332^2~179 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=c4532232a88b1b2f79b4dd7eede1ccaee669d3d2;p=platal.git Fix invalid reference to profile_education.pid Signed-off-by: Florent Bruneau --- diff --git a/upgrade/newdirectory-0.0.1/09_education.sql b/upgrade/newdirectory-0.0.1/09_education.sql index 95340fb..6906340 100644 --- a/upgrade/newdirectory-0.0.1/09_education.sql +++ b/upgrade/newdirectory-0.0.1/09_education.sql @@ -610,7 +610,7 @@ INSERT INTO profile_education_enum (name, url, country, abbreviation) -- Médecine is not a university but an educational field REPLACE INTO profile_education (pid, id, fieldid, eduid, degreeid) - SELECT e.uid, e.id, f.id, 0, d.id + SELECT e.pid, e.id, f.id, 0, d.id FROM profile_education AS e INNER JOIN profile_education_enum AS l ON (l.id = e.eduid) INNER JOIN profile_education_degree_enum AS d ON (d.degree = "Doctorat")