Skip to content

Improve module migration dependencies #64

@zakpatterson

Description

@zakpatterson

Migrating modules requires listing every necessary module by name, for example, if one wants the feature-requests module and the auth module, one must initialize via:

DatabaseConfig.initialize(config)("ct_auth", "ct_feature_requests")

ct_feature_requests requires the ct_auth module to exist first. So there should be a better way to encode this dependency, and remove the strings.

Those strings also have to be exactly those, as the initialize method is going to look in resources for s"db/$schemaName/migration" This is a string then that the module owns and should not need to be specified by the user.

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