nomad v0.7.1 Nomad.SQL
Interface for the Nomad SQL API. All the functions here will call their respective callbacks to the desired cloud’s client adapter.
To use the SQL API - at least - the following system variables must be passed on startup:
DB_NAME: The name of the database DB_INSTANCE: The instance to which the database belongs DB_USERNAME: The username for the given database DB_PASSWORD: The password for the given database
The hostname will be retrieved through the API.
To use the SQL API and the regular Ecto Mix tasks:
DB_NAME: The name of the database DB_INSTANCE: The instance to which the database belongs DB_USERNAME: The username for the given database DB_PASSWORD: The password for the given database DB_HOSTNAME: The host for the given database instance
Summary
Functions
Sets the database host (for Ecto)