Lightweight 0.20260617.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 would be emitted in CREATE TABLE.
 
std::vector< SqlCompositeForeignKeyConstraintcompositeForeignKeys
 
bool ifNotExists = false
 

Detailed Description

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

Definition at line 475 of file SqlMigration.hpp.

Member Data Documentation

◆ columns

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

Ordered column declarations as they would be emitted in CREATE TABLE.

Definition at line 478 of file SqlMigration.hpp.

◆ compositeForeignKeys

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

Composite foreign keys declared on this table (single-column FKs are carried inline on the corresponding SqlColumnDeclaration::foreignKey).

Definition at line 481 of file SqlMigration.hpp.

◆ ifNotExists

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

Whether the original CREATE TABLE used IF NOT EXISTS (carried through to emitters so they can replay it verbatim).

Definition at line 484 of file SqlMigration.hpp.


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