-
Notifications
You must be signed in to change notification settings - Fork 5
Improve module migration dependencies #64
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels