z_install_update (zotonic_core v1.0.0-rc.14)

This server will install the database when started. It will always return ignore to the supervisor. This server should be started after the database pool but before any database queries will be done.

Link to this section Summary

Link to this section Functions

Link to this function

code_change(Vsn, State, Extra)

Link to this function

handle_call(Msg, From, State)

Link to this function

handle_cast(Msg, State)

Link to this function

handle_info(_, State)

Link to this function

init(SiteProps)

Link to this function

start_link(SiteProps)

-spec start_link(list()) -> ignore | {error, database | term()}.
Install zotonic on the databases in the PoolOpts, skips when already installed.
Link to this function

terminate(Reason, State)