Skip to content

Implement database migration #437

@sixcare

Description

@sixcare

Up until now we've broken the destroyed the database and re-created it. But it is time for a proper system for managing changes to the database.

As I see it we could do it two ways:

  1. Just write the changes into the existing schema.sql, creating one long schema file
  2. Create a separate sql file for each change

Personally, I'd go with option 1, since it's less changes in the code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions