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

  `idOrder` INT NOT NULL AUTO_INCREMENT ,
  `startDate` DATETIME NOT NULL ,
  `endDate` DATETIME NOT NULL ,
  `owner` INT NOT NULL ,
  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 ,
  PRIMARY KEY (`idMenuItem`) ,
  UNIQUE INDEX `idMenuItem_UNIQUE` (`idMenuItem` ASC) ,
  CONSTRAINT `idOrder`
