Skip to content

[FEATURE] Add database migrations to ensure smooth version upgrades #340

@edenreich

Description

@edenreich

Summary

Currently if I switch to a newer version of the CLI where there are schema changes, the CLI breaks.

The migration should probably be as a part of the infer init --overwrite command to also run the database migrations. Focus on sqlite but also ensure the system support multiple database migrations like postgres etc..

Acceptance Criteria

  • There is a smooth upgrading from one version of the CLI to the other
  • When upgrading to a newer version of the CLI schema changes are included
  • It's documented
  • It's tested

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions