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

Per-table state: ordered column declarations + per-table FK list. More...

#include <SqlMigration.hpp>

Public Attributes

std::vector< SqlColumnDeclarationcolumns
 Ordered column declarations as they should appear in the emitted CREATE TABLE.
 
std::vector< SqlCompositeForeignKeyConstraintcompositeForeignKeys
 Composite (multi-column) foreign keys declared on this table.
 
bool ifNotExists = false
 True when the original migration created the table with IF NOT EXISTS.
 

Detailed Description

Per-table state: ordered column declarations + per-table FK list.

Definition at line 312 of file SqlMigration.hpp.

Member Data Documentation

◆ columns

std::vector<SqlColumnDeclaration> Lightweight::SqlMigration::MigrationManager::PlanFoldingResult::TableState::columns

Ordered column declarations as they should appear in the emitted CREATE TABLE.

Definition at line 315 of file SqlMigration.hpp.

◆ compositeForeignKeys

std::vector<SqlCompositeForeignKeyConstraint> Lightweight::SqlMigration::MigrationManager::PlanFoldingResult::TableState::compositeForeignKeys

Composite (multi-column) foreign keys declared on this table.

Definition at line 318 of file SqlMigration.hpp.

◆ ifNotExists

bool Lightweight::SqlMigration::MigrationManager::PlanFoldingResult::TableState::ifNotExists = false

True when the original migration created the table with IF NOT EXISTS.

Definition at line 321 of file SqlMigration.hpp.


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