CREATE TABLE IF NOT EXISTS `OfferRequests` (
  `ID` INT NOT NULL AUTO_INCREMENT,
  `CustName` VARCHAR(255) NOT NULL,
  `City` VARCHAR(120) NOT NULL,
  `Delegate` VARCHAR(150) NOT NULL,
  `Date` DATE NOT NULL,
  `Spri` VARCHAR(120) NULL,
  `Emerg` VARCHAR(60) NULL,
  `Places` TEXT NULL,
  `Amount` BIGINT NULL,
  `Kst` BIGINT NULL,
  `Note` TEXT NULL,
  `EnteredByUserId` INT NULL,
  `UpdateDate` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`ID`),
  KEY `idx_offer_requests_date` (`Date`),
  KEY `idx_offer_requests_delegate` (`Delegate`),
  KEY `idx_offer_requests_entered` (`EnteredByUserId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
