Opened 4 years ago

Closed 4 years ago

#24560 closed New feature (fixed)

createcachetable dry-run mode

Reported by: Adam (Chainz) Johnson Owned by: nobody
Component: Core (Management commands) Version: master
Severity: Normal Keywords: createcachetable
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When setting up a table for the DatabaseCache on a project I'm working on, I found it would be useful to see the SQL that createcachetable would run so it could be customized and stored in a migration. I had to manually edit the createcachetable.py file to achieve this, so I've added a proper dry-run mode.

Change History (3)

comment:1 Changed 4 years ago by Claude Paroz

Keywords: createcachetable added
Triage Stage: UnreviewedAccepted
Type: UncategorizedNew feature
Version: 1.8master

Where is the patch?

comment:2 Changed 4 years ago by Tim Graham

comment:3 Changed 4 years ago by Tim Graham <timograham@…>

Resolution: fixed
Status: newclosed

In 5564d0f:

Fixed #24560 -- Added a --dry-run mode to the createcachetable command.

Note: See TracTickets for help on using tickets.
Back to Top