mongorunway.application.ux
¤APPLIED_MIGRATION_INDEX: typing.Final[typing.Sequence[typing.Tuple[str, int]]] = [('is_applied', 1), ('_id', -1)]
module-attribute
¤MIGRATION_SCHEMA_VALIDATOR: typing.Final[typing.Dict[str, typing.Any]] = {'$jsonSchema': {'bsonType': 'object', 'required': ['_id', 'name', 'version', 'checksum', 'is_applied', 'description'], 'properties': {'_id': {'bsonType': 'int'}, 'name': {'bsonType': 'string', 'minLength': 1}, 'version': {'bsonType': 'int', 'minimum': 1}, 'checksum': {'bsonType': 'string'}, 'is_applied': {'bsonType': 'bool'}, 'description': {'bsonType': 'string'}}}}
module-attribute
¤PENDING_MIGRATION_INDEX: typing.Final[typing.Sequence[typing.Tuple[str, int]]] = [('is_applied', 1)]
module-attribute
¤__all__: typing.Sequence[str] = ('MIGRATION_SCHEMA_VALIDATOR', 'PENDING_MIGRATION_INDEX', 'APPLIED_MIGRATION_INDEX', 'ValidationAction', 'ValidationLevel', 'configure_logging', 'configure_migration_indexes', 'configure_migration_directory', 'configure_migration_collection', 'configure_migration_schema_validators', 'init_components', 'init_logging', 'init_migration_indexes', 'init_schema_validators', 'init_migration_collection', 'init_migration_directory', 'remove_migration_indexes', 'remove_migration_schema_validators', 'sync_scripts_with_repository')
module-attribute
¤ValidationAction
¤ValidationLevel
¤mongorunway\application\ux.py
configure_logging(config_dict)
¤mongorunway\application\ux.py
configure_migration_collection(database, use_schema_validation, collection_name='migrations')
¤mongorunway\application\ux.py
configure_migration_directory(scripts_dir)
¤mongorunway\application\ux.py
configure_migration_indexes(collection)
¤mongorunway\application\ux.py
configure_migration_schema_validators(collection)
¤mongorunway\application\ux.py
init_components(configuration)
¤init_logging(configuration)
¤init_migration_collection(configuration)
¤init_migration_directory(configuration)
¤init_migration_indexes(configuration, collection)
¤init_schema_validators(configuration, collection)
¤mongorunway\application\ux.py
remove_migration_indexes(collection)
¤mongorunway\application\ux.py
remove_migration_schema_validators(collection)
¤mongorunway\application\ux.py
sync_scripts_with_repository(application)
¤mongorunway\application\ux.py