Updates json in newsletter_issues according to 9a6abd.
authorStéphane Jacob <sj@m4x.org>
Tue, 26 Apr 2011 11:27:17 +0000 (13:27 +0200)
committerStéphane Jacob <sj@m4x.org>
Tue, 26 Apr 2011 11:27:17 +0000 (13:27 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
upgrade/1.1.1/11_promo_filter.sql [new file with mode: 0644]

diff --git a/upgrade/1.1.1/11_promo_filter.sql b/upgrade/1.1.1/11_promo_filter.sql
new file mode 100644 (file)
index 0000000..8b7e335
--- /dev/null
@@ -0,0 +1,8 @@
+UPDATE  newsletter_issues
+   SET  sufb_json = REPLACE(sufb_json, 'Ing.', 'Ingénieur');
+UPDATE  newsletter_issues
+   SET  sufb_json = REPLACE(sufb_json, 'M%', 'Master');
+UPDATE  newsletter_issues
+   SET  sufb_json = REPLACE(sufb_json, 'PhD', 'Doctorat');
+
+-- vim:set syntax=mysql: