ALTER TABLE `system_options`
DROP PRIMARY KEY,
ADD INDEX (`option_key`) USING BTREE,
ADD `user_id` bigint(20) unsigned NOT NULL,
ADD `type` ENUM('system','user') NOT NULL DEFAULT 'system',
ADD INDEX (`user_id`),
ADD INDEX (`type`);