Fixes notification about phones.
authorStéphane Jacob <sj@m4x.org>
Wed, 8 Dec 2010 09:07:13 +0000 (10:07 +0100)
committerStéphane Jacob <sj@m4x.org>
Wed, 8 Dec 2010 12:32:46 +0000 (13:32 +0100)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
upgrade/1.0.2/03_phones.sql [new file with mode: 0644]

diff --git a/upgrade/1.0.2/03_phones.sql b/upgrade/1.0.2/03_phones.sql
new file mode 100644 (file)
index 0000000..3f48a67
--- /dev/null
@@ -0,0 +1,9 @@
+ALTER TABLE watch_profile MODIFY COLUMN field ENUM('search_names','freetext','mobile','nationality1','nationality2','nationality3','nick','networking','edus','addresses','section','binets','medals','cv','jobs','photo','corps','tels') NOT NULL DEFAULT 'search_names';
+
+UPDATE  watch_profile
+   SET  field = 'tels'
+ WHERE  field = 'mobile';
+
+ALTER TABLE watch_profile MODIFY COLUMN field ENUM('search_names','freetext','nationality1','nationality2','nationality3','nick','networking','edus','addresses','section','binets','medals','cv','jobs','photo','corps','tels') NOT NULL DEFAULT 'search_names';
+
+-- vim:set syntax=mysql: