Skip to content

Migration from the original heartbeat #1

@lmaotrigine

Description

@lmaotrigine

Since this version makes some incompatible changes to the API and the internal storage model, a bit of work is necessary to migrate statistics and device and beat history from an existing server.

An implementation would involve

  • Reading a dump.rdb and parsing out JSON, or require that a redis server be running
  • Migrate devices to the new format using POST /api/devices and communicate the resulting tokens to the user.
  • Migrate beat history ensuring foreign key constraints aren't violated.

cc @5HT2 since you wanted to take this up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions