Skip to content

Periodically purge historic data #154

@bajtos

Description

@bajtos

Setup a daily cron job to purge historic date. Let's keep only data for the last 30 days for start.

Here is a query we can run manually for now (remember to update the date filter):

DELETE FROM spark_rounds WHERE created_at < '2023-11-01T00:00:00.000Z';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    🧊 icebox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions