Opened 10 years ago

Closed 10 years ago

#24560 closed New feature (fixed)

createcachetable dry-run mode

Reported by: Adam Johnson Owned by: nobody
Component: Core (Management commands) Version: dev
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 by Claude Paroz, 10 years ago

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

Where is the patch?

comment:2 by Tim Graham, 10 years ago

comment:3 by Tim Graham <timograham@…>, 10 years ago

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