Skip to content
This repository was archived by the owner on May 10, 2023. It is now read-only.
This repository was archived by the owner on May 10, 2023. It is now read-only.

quick method to clear all with scdbstrip? #175

Description

@filefolder

ideally it seems there should be some sort of "--all" flag in scdbstrip (or when --days 0) that can instantly perform something like:

CREATE TABLE new_foo LIKE foo;
RENAME TABLE foo TO old_foo, new_foo TO foo;
DROP TABLE old_foo;

on each of the pertinent tables, which would take a few moments instead of all but assuring a hard mysql reset.

fwiw the copy/drop method above seems a bit more reliable than "truncate" which invalidates my database in a way i can't comprehend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions