CREATE TABLE `reso_block` (
  `rb_id` int(10) UNSIGNED NOT NULL,
  `rb_start` datetime DEFAULT NULL,
  `rb_end` datetime DEFAULT NULL,
  `rb_reason` int(11) DEFAULT NULL,
  `rb_notes` text COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
ALTER TABLE `reso_block`
  ADD PRIMARY KEY (`rb_id`);
ALTER TABLE `reso_block`
  MODIFY `rb_id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

ALTER TABLE `reso_profile` ADD `reso_bill_item_id` INT NULL AFTER `reso_grp_id`;