Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

RoundhouseHelper

Contains tasks to run RoundhousE database migrations.

Nested types and modules

TypeDescription
RoundhouseParams
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Parameter type to configure the RoundhousE runner

Functions and values

Function or valueDescription
formatArgs args pre split delim
Signature: args:seq<(string * string) option> -> pre:string -> split:string -> delim:string -> string
getBoolParam k v
Signature: k:'?9776 -> v:bool -> ('?9776 * string) option
Type parameters: '?9776
getIntParam k v
Signature: k:'?9778 -> v:int -> ('?9778 * string) option
Type parameters: '?9778
getParamPairs(rh)
Signature: rh:RoundhouseParams -> (string * string) option list
getStringParam k v
Signature: k:'?9774 -> v:string -> ('?9774 * string) option
Type parameters: '?9774
Roundhouse(setParams)
Signature: setParams:(RoundhouseParams -> RoundhouseParams) -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

This task to can be used to run RoundhousE for database migrations.

Parameters

  • setParams - Function used to overwrite the Roundhouse default parameters.

Sample

1: 
2: 
3: 
4: 
5: 
Roundhouse (fun p -> { p with 
   SqlFilesDirectory = ".\database"
   ServerDatabase = "(local)"
   DatabaseName = "atxc"
   WarnOnOneTimeScriptChanges = true })
RoundhouseDefaults
Signature: RoundhouseParams
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Roundhouse default parameters - tries to locate rh.exe in any subfolder.

serializeArgs(args)
Signature: args:seq<(string * string) option> -> string