CREATE TABLE `xf_dbtech_credits_event` (
`event_id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`title` VARCHAR(255) NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
`active` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
`currency_id` INT(10) UNSIGNED NOT NULL,
`event_trigger_id` VARCHAR(255) NOT NULL DEFAULT '' COLLATE 'utf8mb4_general_ci',
`user_group_ids` BLOB NULL DEFAULT NULL,
`node_ids` BLOB NULL DEFAULT NULL,
`moderate` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
`charge` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
`main_add` DOUBLE NOT NULL DEFAULT '0',
`main_sub` DOUBLE NOT NULL DEFAULT '0',
`mult_add` DOUBLE NOT NULL DEFAULT '0',
`mult_sub` DOUBLE NOT NULL DEFAULT '0',
`delay` INT(10) UNSIGNED NOT NULL DEFAULT '0',
`frequency` INT(10) UNSIGNED NOT NULL DEFAULT '1',
`maxtime` INT(10) UNSIGNED NOT NULL DEFAULT '0',
`applymax` INT(10) UNSIGNED NOT NULL DEFAULT '0',
`applymax_peruser` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
`upperrand` DOUBLE NOT NULL DEFAULT '0',
`multmin` DOUBLE NOT NULL DEFAULT '0',
`multmax` DOUBLE NOT NULL DEFAULT '0',
`minaction` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
`owner` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
`curtarget` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
`alert` TINYINT(3) UNSIGNED NOT NULL DEFAULT '0',
`display` TINYINT(3) UNSIGNED NOT NULL DEFAULT '1',
`settings` MEDIUMBLOB NULL DEFAULT NULL,
PRIMARY KEY (`event_id`) USING BTREE,
INDEX `transaction_display` (`active`, `display`) USING BTREE
)
COLLATE='utf8mb4_general_ci'
ENGINE=InnoDB
AUTO_INCREMENT=4
;