|
Lightweight 0.20251202.0
|
Represents a SQL CREATE INDEX plan for migrations. More...
#include <MigrationPlan.hpp>
Public Attributes | |
| std::string | schemaName |
| The schema name of the table to create the index on. | |
| std::string | indexName |
| The name of the index to create. | |
| std::string | tableName |
| The name of the table to create the index on. | |
| std::vector< std::string > | columns |
| The columns to include in the index. | |
| bool | unique { false } |
| If true, creates a UNIQUE index. | |
| bool | ifNotExists { false } |
| If true, generates CREATE INDEX IF NOT EXISTS. | |
Represents a SQL CREATE INDEX plan for migrations.
This structure represents a CREATE INDEX statement for a migration plan.
Definition at line 485 of file MigrationPlan.hpp.
| std::string Lightweight::SqlCreateIndexPlan::schemaName |
The schema name of the table to create the index on.
Definition at line 488 of file MigrationPlan.hpp.
| std::string Lightweight::SqlCreateIndexPlan::indexName |
The name of the index to create.
Definition at line 491 of file MigrationPlan.hpp.
| std::string Lightweight::SqlCreateIndexPlan::tableName |
The name of the table to create the index on.
Definition at line 494 of file MigrationPlan.hpp.
| std::vector<std::string> Lightweight::SqlCreateIndexPlan::columns |
The columns to include in the index.
Definition at line 497 of file MigrationPlan.hpp.
| bool Lightweight::SqlCreateIndexPlan::unique { false } |
If true, creates a UNIQUE index.
Definition at line 500 of file MigrationPlan.hpp.
| bool Lightweight::SqlCreateIndexPlan::ifNotExists { false } |
If true, generates CREATE INDEX IF NOT EXISTS.
Definition at line 503 of file MigrationPlan.hpp.