|
Lightweight 0.20260213.0
|
Represents a SQL DROP TABLE plan. More...
#include <MigrationPlan.hpp>
Public Attributes | |
| std::string_view | schemaName |
| The schema name of the table to drop. | |
| std::string_view | tableName |
| The name of the table to drop. | |
| bool | ifExists { false } |
| If true, generates DROP TABLE IF EXISTS instead of DROP TABLE. | |
| bool | cascade { false } |
Represents a SQL DROP TABLE plan.
Definition at line 394 of file MigrationPlan.hpp.
| std::string_view Lightweight::SqlDropTablePlan::schemaName |
The schema name of the table to drop.
Definition at line 397 of file MigrationPlan.hpp.
| std::string_view Lightweight::SqlDropTablePlan::tableName |
The name of the table to drop.
Definition at line 400 of file MigrationPlan.hpp.
| bool Lightweight::SqlDropTablePlan::ifExists { false } |
If true, generates DROP TABLE IF EXISTS instead of DROP TABLE.
Definition at line 403 of file MigrationPlan.hpp.
| bool Lightweight::SqlDropTablePlan::cascade { false } |
If true, drops all foreign key constraints referencing this table first. On PostgreSQL, uses CASCADE. On MS SQL, drops FK constraints explicitly.
Definition at line 407 of file MigrationPlan.hpp.