Skip to content
This repository was archived by the owner on Apr 6, 2026. It is now read-only.
This repository was archived by the owner on Apr 6, 2026. It is now read-only.

Add support for migrating data between database installations #7

@luislew

Description

@luislew

Issue by luislew
Monday Mar 12, 2018 at 20:35 GMT
Originally opened as https://github.com/NerdWallet/nwpy-savage/issues/10


Currently, version_id is generated from txid_current(), which is not portable between database installations. As a result, it's not possible to simply dump data from one server to another, because the version ID generation may conflict.

One way to around this issue would be to add a database_version_id, which would be incremented upon a database migration. SavageLogMixin would need to add a database_version_id column, and there would need to be a separate DatabaseVersionId table with a single value (which defaults to 0/1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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