Class: ActiveRecord::ConnectionAdapters::ClickHouse::SchemaDumper

Inherits:
ConnectionAdapters::SchemaDumper
  • Object
show all
Defined in:
lib/active_record/connection_adapters/clickhouse/schema_dumper.rb

Overview

Dumps columns so the schema round-trips through this adapter's DSL: AR-native types only when type_to_sql regenerates the exact server type, everything else as a verbatim ClickHouse type string; Nullable/LowCardinality become column options because absence of null: means NOT NULL here, unlike core Rails.