Skip to content

Add to the documentation how to handle ApiDoc/schema changes #589

Description

@Mec-iS

I'm submitting a

  • feature request.

Current Behaviour:

We have alembic installed but there is no mention in the documentation about how to create the first migration nor an automatic mechanism todo migration when the ApiDoc changes.

Expected Behaviour:

When the hydrus instance is run for the first time, a migration file should be created with the initial database schema. Every time a change happens on the ApiDoc that affects the database, the "migrate" command should be run to write a new migration version.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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