Skip to content

Migrations Tidy Up #189

Description

@Joeyh021

This was attempted in #187, but the schema generated was too different to the existing one on the production DB (difference checked using pgAdmin).

The advantages of doing this are:

  • to remove old stuff
  • totally dump the sqlalchemy_utils package as a dependancy (it is needed for decryption stuff)
  • generate migrations with type stubs
  • generate migrations that use the async dbapi (doesn't actually gain us much for migrations purposes)
  • fix the slightly broken schema

The current best solution we can come up with is to write a script that connects to both the old and a new database and copies the tables over a row at a time.

No activity

Activity on this issue will appear here.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions