// InitTool is the func for initialisation DBMigrator as a tool
InitTool is the func for initialisation DBMigrator as a tool
// InitTool is the func for initialisation DBMigrator as a tool
func InitTool(ctx context.Context, config api.Configuration, logger api.Logger) (err error) {
	if err := Init(ctx, config, logger); err != nil {
		return err
	}
	dbMigrator, err = NewDBMigratorTool(dbMigrator.(*DBMigrator))
	if err != nil {
		return err
	}
	return nil
}
func InitTool ( ctx context . Context , config api . Configuration , logger api . Logger ) ( err error ) { if err := Init ( ctx , config , logger ) ; err != nil { return err } dbMigrator , err = NewDBMigratorTool ( dbMigrator . ( * DBMigrator ) ) if err != nil { return err } return nil }
InitTool is the func for initialisation DBMigrator as a tool
InitTool is the func for initialisation DBMigrator as a tool