Note: This API documentation is for FAKE version 4. The migration API documentation can be found here. The API documentation for the new fake 5 modules can be found here

RoundhouseHelper

Contains tasks to run RoundhousE database migrations.

Nested types and modules

TypeDescription
RoundhouseParams

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:'?9431 -> v:bool -> ('?9431 * string) option
Type parameters: '?9431
getIntParam k v
Signature: k:'?9433 -> v:int -> ('?9433 * string) option
Type parameters: '?9433
getParamPairs(rh)
Signature: rh:RoundhouseParams -> (string * string) option list
getStringParam k v
Signature: k:'?9429 -> v:string -> ('?9429 * string) option
Type parameters: '?9429
Roundhouse(setParams)
Signature: setParams:(RoundhouseParams -> RoundhouseParams) -> unit

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

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

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