Picks (and builds when it is time) the schema database for the migrations in folder. db is
connected to the server's own database and config is how it was reached.
- state: what earlier calls learned; updated here.
- db: a connection to the server's own database.
- config: how
dbwas reached; a database that gets built is connected to the same way. - folder: the project's migrations folder.
schema_target :: (
state: *Schema_Databases,
db: *Connection,
config: Config,
folder: string
) -> (Schema_Target, problem: string)
Picks (and builds when it is time) the schema database for the migrations in folder. db is
connected to the server's own database and config is how it was reached.
Parameters
- state: *Schema_Databases
- what earlier calls learned; updated here.
- db: *Connection
- a connection to the server's own database.
- config: Config
- how
dbwas reached; a database that gets built is connected to the same way. - folder: string
- the project's migrations folder.
Returns
- problem: string