sqlite不存在则插入
-- 不存在则插入
INSERT INTO profiles (devID, alert)
SELECT 'ff', 1
WHERE NOT EXISTS (SELECT 1 FROM profiles WHERE devID = 'ff');
-- 不存在则插入
INSERT INTO profiles (devID, alert)
SELECT 'ff', 1
WHERE NOT EXISTS (SELECT 1 FROM profiles WHERE devID = 'ff');