Appearance
SchemaOperationType Enum
Represents the type of schema operation to be performed against a database.
Namespace: JASE.Database.Migration
Assembly: JASE.Database.dll
Underlying Type byte
Fields
| Name | Value | Description |
|---|---|---|
None | 0 | No schema operation has been specified. |
AlterColumn | 5 | Modifies the definition of an existing column. |
AlterTable | 10 | Modifies the structure of an existing table. |
AlterView | 15 | Modifies the definition of an existing database view. |
CreateColumn | 50 | Creates a new column within an existing table. |
CreateConstraint | 55 | Creates a new constraint in the database. |
CreateIndex | 60 | Creates an index on an existing table. |
CreateSchema | 65 | Creates a new schema in the database. |
CreateSequence | 70 | Creates a new sequence in the database. |
CreateTable | 75 | Creates a new table in the database. |
CreateView | 80 | Creates a database view. |
DropColumn | 100 | Removes an existing column from a table. |
DropConstraint | 105 | Removes an existing constraint from the database. |
DropSequence | 110 | Removes an existing sequence from the database. |
DropSchema | 115 | Removes an existing schema from the database. |
DropTable | 120 | Removes an existing table from the database. |
DropIndex | 125 | Removes an existing index. |
DropView | 130 | Removes an existing database view. |
RenameColumn | 150 | Renames an existing column within a table. |
RenameIndex | 155 | Renames an existing index. |
RenameTable | 160 | Renames an existing table. |
Unknown | 255 | Represents an unrecognized or unsupported schema operation. |
Remarks
These values are used by schema comparison, migration, and SQL generation components to describe logical structural changes to database objects such as columns, constraints, indexes, schemas, sequences, tables, and views. While many of these operations are ultimately emitted as DDL statements, this enum represents the logical operation rather than a specific SQL verb.