PNixx / clickhouse-activerecord

A Ruby database ActiveRecord driver for ClickHouse
MIT License
202 stars 100 forks source link

SchemaDumper adds materialized view destination #159

Closed cbisnett closed 1 month ago

cbisnett commented 3 months ago

This PR updates the SchemaDumper to extract and include the destination table in the create_table method for a materialized view. This functionality has existed in the create_table method for a while, but was not being parsed by the SchemaDumper when creating the schema file.

danielwestendorf commented 1 month ago

@PNixx any thoughts on this PR?

PNixx commented 1 month ago

I need check it