   `idMenuItem` INT NOT NULL AUTO_INCREMENT ,
   `date` DATETIME NOT NULL ,
   `isPaid` TINYINT(1) NOT NULL ,
-  `idOrder` INT NOT NULL ,
+  `idOrder` INT ,
   PRIMARY KEY (`idMenuItem`) ,
   UNIQUE INDEX `idMenuItem_UNIQUE` (`idMenuItem` ASC) ,
   CONSTRAINT `idOrder`


CREATE TABLE `borsch`.`OrderChanges` (
	`changeId` INT NOT NULL AUTO_INCREMENT ,
	`changedDishId` INT NOT NULL ,
	`actedUserId` INT NOT NULL ,
	`menuItemId` INT NOT NULL ,
	`committedAction` VARCHAR(255) NOT NULL ,
	PRIMARY KEY (`changeId`) ,
	UNIQUE INDEX `changeId_UNIQUE` (`changeId` ASC) ,

  `price` INT NOT NULL ,
  `description` VARCHAR(255) NOT NULL ,
  `course` VARCHAR(255) NOT NULL ,
  `menuItemId` INT ,
  `priceList` INT ,
  PRIMARY KEY (`idDish`) ,
  UNIQUE INDEX `idDish_UNIQUE` (`idDish` ASC), 
  CONSTRAINT `menuItemId`
    FOREIGN KEY (`menuItemId` )
    REFERENCES `borsch`.`orders` (`idOrder` ),
  CONSTRAINT `priceList`
