Lightweight 0.20260303.0
Loading...
Searching...
No Matches
Lightweight::SqlMigration::MigrationManager::UnicodeUpgradeResult Struct Reference

Result of an UnicodeUpgradeTables call. More...

#include <SqlMigration.hpp>

Public Attributes

bool wasDryRun = false
 
std::vector< ColumnUpgradeEntrycolumns
 
std::vector< SqlCompositeForeignKeyConstraintrebuiltForeignKeys
 

Detailed Description

Result of an UnicodeUpgradeTables call.

Definition at line 514 of file SqlMigration.hpp.

Member Data Documentation

◆ wasDryRun

bool Lightweight::SqlMigration::MigrationManager::UnicodeUpgradeResult::wasDryRun = false

True when the populating call was a dry-run; the result describes the would-be diff and no DDL was issued.

Definition at line 518 of file SqlMigration.hpp.

◆ columns

std::vector<ColumnUpgradeEntry> Lightweight::SqlMigration::MigrationManager::UnicodeUpgradeResult::columns

Columns whose live type drifted from the intended type and were upgraded (or would be on a real run).

Definition at line 521 of file SqlMigration.hpp.

◆ rebuiltForeignKeys

std::vector<SqlCompositeForeignKeyConstraint> Lightweight::SqlMigration::MigrationManager::UnicodeUpgradeResult::rebuiltForeignKeys

Foreign keys that had to be dropped + re-added to upgrade their participating columns. Reported so operators see the FK churn.

Definition at line 524 of file SqlMigration.hpp.


The documentation for this struct was generated from the following file: