PNixx / clickhouse-activerecord

A Ruby database ActiveRecord driver for ClickHouse
MIT License
192 stars 96 forks source link

SchemaDumper adds materialized view destination #159

Open cbisnett opened 3 weeks ago

cbisnett commented 3 weeks 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.