mix ash_clickhouse.setup (AshClickhouse v0.6.2)

Copy Markdown View Source

Creates the ClickHouse database for the configured repo.

mix ash_clickhouse.setup

Summary

Functions

Creates the database for each repo, printing the outcome to the shell.

Functions

create_databases(repos)

@spec create_databases([module()]) :: :ok

Creates the database for each repo, printing the outcome to the shell.

Split out from run/1 so the success/error branches are unit-testable without the app's compiled modules.