Lightweight 0.20260921.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< SqlColumnDeclaration > columns
 Ordered column declarations as they would be emitted in CREATE TABLE.
 
std::vector< SqlCompositeForeignKeyConstraint > compositeForeignKeys
 
bool ifNotExists = false
 

Detailed Description

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

Definition at line 482 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 485 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 488 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 491 of file SqlMigration.hpp.


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