Header menu logo Migrondi

Migrondi Type

Static members

Static member Description

Migrondi.MigrondiFactory(config, rootDirectory, ?logger, ?migrationSource)

Full Usage: Migrondi.MigrondiFactory(config, rootDirectory, ?logger, ?migrationSource)

Parameters:
    config : MigrondiConfig - A configuration object to be able to find the connection string for the database.
    rootDirectory : string - The root directory path for the project.
    ?logger : ILogger - An optional logger for diagnostics.
    ?migrationSource : IMiMigrationSource - An optional custom migration source implementation (HTTP, S3, Azure Blob, etc.).

Returns: IMigrondi A new Migrondi service

Generates a new Migrondi service with default implementations. Optionally, you can provide a custom migration source implementation (HTTP, S3, Azure Blob, etc.).

When migrationSource is not provided, a default implementation using the local file system is used.

config : MigrondiConfig

A configuration object to be able to find the connection string for the database.

rootDirectory : string

The root directory path for the project.

?logger : ILogger

An optional logger for diagnostics.

?migrationSource : IMiMigrationSource

An optional custom migration source implementation (HTTP, S3, Azure Blob, etc.).

Returns: IMigrondi

A new Migrondi service

Type something to start searching.