   `idOrder` INT NOT NULL AUTO_INCREMENT ,
   `startDate` DATETIME NOT NULL ,
   `endDate` DATETIME NOT NULL ,
-  `owner` INT NOT NULL ,
+  `owner` INT ,
   PRIMARY KEY (`idOrder`) ,
   UNIQUE INDEX `owner_idx` (`owner` ASC) ,
   CONSTRAINT `owner`

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


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