NAME

DBIO::DuckDB::Diff::Column - Diff operations for DuckDB columns

VERSION

version 0.900000

DESCRIPTION

Column-level diff operations for DuckDB. Unlike SQLite, DuckDB has a reasonably complete ALTER TABLE:

  • ALTER TABLE ... ADD COLUMN

  • ALTER TABLE ... DROP COLUMN

  • ALTER TABLE ... ALTER COLUMN ... SET DATA TYPE

  • ALTER TABLE ... ALTER COLUMN ... SET / DROP NOT NULL

  • ALTER TABLE ... ALTER COLUMN ... SET / DROP DEFAULT

So actual type and nullability changes are emitted as real ALTER statements rather than commented-out warnings.

Brand-new tables get their columns inline via DBIO::DuckDB::Diff::Table -- this module only sees columns of tables that exist in both models.

METHODS

diff

as_sql

summary

AUTHOR

DBIO Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.