Menu

#528 Transpose cache table columns to rows.

6.7.1
closed
None
Unknown
Improvement
Unknow
Unknow
Unknow
2024-02-01
2023-03-15
No

Transpose cache table columns to rows. and add a primary key like temp_storage table.

CREATE TABLE IF NOT EXISTS `cache` (
  `cacheId` varchar(256) NOT NULL,
  -- Data serialized with serialize()
  `cacheData` LONGBLOB DEFAULT NULL,
  `cacheTimestamp` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  PRIMARY KEY (`cacheId`),
  KEY (`cacheTimestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci;

Related

News: 2023/06/wikindx-v671-beta-3-released
News: 2023/07/wikindx-v671-beta-4-released
News: 2023/07/wikindx-v671-released

Discussion

  • Stéphane Aulery

    Implemented by revision [r3870].

     

    Related

    Commit: [r3870]

  • Stéphane Aulery

    • status: open --> pending
    • assigned_to: Stéphane Aulery
    • Target: Next --> 6.7.1
     
  • Mark Grimshaw

    Mark Grimshaw - 2023-03-16

    Confirming that this works for upgrade and a new installation.

    Mark

     
    • Stéphane Aulery

      Ok, thanks. Without an id tools like phpMyAdmin or Adminer cannot edit the fields.

       
      • Stéphane Aulery

        Tested and OK.

         
  • Stéphane Aulery

    • status: pending --> closed
    • Database: --> Unknow
     

Log in to post a comment.