Commit graph

4 commits

Author SHA1 Message Date
John Richmond
357bdefb8f
Add messages table to local clickhouse setup (#51)
* Add messages table to local clickhouse setup

Copied from production, using MergeTree() instead of
SharedMergeTree('/clickhouse/tables/{uuid}/{shard}', '{replica}').

This still only runs on a fresh setup (e.g. rm -rf .docker/clickhouse),
so it's a poor substitute for actual migrations.

* Update .docker/scripts/clickhouse/001-create-tables.sql

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>

* Add local clickhouse url+password to development env

---------

Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>
2025-05-30 12:18:03 -07:00
John Richmond
6a65576136
Add support for local clickhouse in docker (#48)
Caveats / Deficiencies

This is not a perfect match for the server clickhouse config since we're
using MergeTree() as the engine. It seemed like it was going to be much
more complex to exactly match production, but I may have missed something
obvious.

The create tables sql only seems to be run on a completely fresh install.
2025-05-29 16:49:59 -07:00
cte
1fa656a012 Add events table 2025-05-13 23:24:02 -07:00
cte
7ee4693d7b Modernize the template 2025-05-11 21:15:57 -07:00