 ALTER TABLE `Permissions`
   ADD PRIMARY KEY (`idPermission`);
 
+ALTER TABLE `Settings`
+  ADD PRIMARY KEY (`idOperationMode`);
+
 ALTER TABLE `Users`
   ADD PRIMARY KEY (`idUser`);
 

  `description` varchar(300) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

CREATE TABLE `Users` (
  `idUser` int(11) NOT NULL,
  `name` varchar(32) NOT NULL,

  MODIFY `idInvitation` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `Permissions`
  MODIFY `idPermission` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `Settings`
  MODIFY `idOperationMode` int(11) NOT NULL AUTO_INCREMENT;
ALTER TABLE `Users`
  MODIFY `idUser` int(11) NOT NULL AUTO_INCREMENT;

ALTER TABLE `Invitations`
  ADD CONSTRAINT `fk_idUser_Users_Invitations` FOREIGN KEY (`idUser`) REFERENCES `Users` (`idUser`);
