Skip to main content

BookStack DB Modification for MySQL 8

Modify these following tables:

  • cache

    ALTER TABLE `cache` ADD PRIMARY KEY(`key`);
    
  • password_resets

    ALTER TABLE `password_resets` ADD PRIMARY KEY(`email`);
    
  • sessions

    ALTER TABLE `sessions` ADD PRIMARY KEY(`id`);