|
|
|
@ -130,10 +130,10 @@ SELECT id, slot, selected, failed, case when instr(contact,";") > 0 |
|
|
|
from keepalive; |
|
|
|
|
|
|
|
CREATE VIEW w_location_contact as |
|
|
|
SELECT id, case when instr(contact,";") > 0 |
|
|
|
then substr(contact, 1, instr(contact,";")-1) |
|
|
|
else contact |
|
|
|
end as contact |
|
|
|
SELECT id, ruid, case when instr(contact,";") > 0 |
|
|
|
then substr(contact, 1, instr(contact,";")-1) |
|
|
|
else contact |
|
|
|
end as contact |
|
|
|
from location; |
|
|
|
|
|
|
|
CREATE VIEW w_watchers_contact as |
|
|
|
|