Lightweight 0.20260921.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< ColumnUpgradeEntry > columns
 
std::vector< SqlCompositeForeignKeyConstraint > rebuiltForeignKeys
 

Detailed Description

Result of an UnicodeUpgradeTables call.

Definition at line 597 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 601 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 604 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 607 of file SqlMigration.hpp.


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