You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/15771.up

20 lines
350 B

SET AUTOCOMMIT=0;
USE provisioning;
SELECT id INTO @vpg_id FROM voip_preference_groups WHERE name = 'Internals';
INSERT INTO voip_preferences
SET
voip_preference_groups_id = @vpg_id,
attribute = "reseller_id",
label = "Internal Reseller #'",
type = 1,
max_occur = 1,
usr_pref = 1,
modify_timestamp=now(),
internal = 1,
data_type = 'int';
COMMIT;