projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b6c8b3
)
Removes erroneous phones.
author
Stéphane Jacob
<sj@m4x.org>
Sat, 21 Aug 2010 08:51:18 +0000
(10:51 +0200)
committer
Stéphane Jacob
<sj@m4x.org>
Sat, 21 Aug 2010 08:56:19 +0000
(10:56 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
upgrade/1.0.1/04_phones.sql
patch
|
blob
|
blame
|
history
diff --git
a/upgrade/1.0.1/04_phones.sql
b/upgrade/1.0.1/04_phones.sql
index
9dc6fdf
..
1c7630d
100644
(file)
--- a/
upgrade/1.0.1/04_phones.sql
+++ b/
upgrade/1.0.1/04_phones.sql
@@
-1,4
+1,6
@@
ALTER TABLE profile_phones MODIFY COLUMN pid INT(6) NOT NULL DEFAULT 0;
ALTER TABLE profile_phones MODIFY COLUMN link_id INT(6) NOT NULL DEFAULT 0;
+DELETE FROM profile_phones WHERE search_tel = '' OR display_tel = '' OR link_type = 'hq';
+
-- vim:set syntax=mysql: