NAME

DBIO::MySQL::Diff::Table - Diff operations for MySQL/MariaDB tables

VERSION

version 0.900000

DESCRIPTION

Represents a table-level diff operation in MySQL/MariaDB: CREATE TABLE or DROP TABLE. create ops carry the target columns and FKs so as_sql can render the full inline definition (parallel to DBIO::SQLite::Diff::Table).

METHODS

diff

my @ops = DBIO::MySQL::Diff::Table->diff(
    $source_tables, $target_tables,
    $target_columns, $target_fks,
);

as_sql

summary

AUTHOR

DBIO & DBIx::Class Authors

COPYRIGHT AND LICENSE

Copyright (C) 2026 DBIO Authors Portions Copyright (C) 2005-2025 DBIx::Class Authors Based on DBIx::Class, heavily modified.

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