Module z_install_update

This server will install the database when started.

Copyright © 2009-2015 Marc Worrell

Behaviours: gen_server.

Authors: Marc Worrell (marc@worrell.nl).

Description

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.

Function Index

code_change/3
handle_call/3
handle_cast/2
handle_info/2
init/1
start_link/1Install zotonic on the databases in the PoolOpts, skips when already installed.
terminate/2

Function Details

code_change/3

code_change(Vsn, State, Extra) -> any()

handle_call/3

handle_call(Msg, From, State) -> any()

handle_cast/2

handle_cast(Msg, State) -> any()

handle_info/2

handle_info(X1, State) -> any()

init/1

init(SiteProps) -> any()

start_link/1

start_link(SiteProps::list()) -> ignore | {error, database | term()}

Install zotonic on the databases in the PoolOpts, skips when already installed.

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc