bmc_hub/migrations/121_telefoni_settings.sql

9 lines
527 B
MySQL
Raw Permalink Normal View History

-- Migration 121: Telefoni settings (click-to-call)
INSERT INTO settings (key, value, category, description, value_type, is_public)
VALUES
('telefoni_click_to_call_enabled', 'false', 'telefoni', 'Aktiver click-to-call via Action URL', 'boolean', true),
('telefoni_default_extension', '', 'telefoni', 'Standard extension til click-to-call', 'string', true),
('telefoni_action_url_template', '', 'telefoni', 'Action URL template ({number}, {raw_number}, {extension})', 'string', false)
ON CONFLICT (key) DO NOTHING;