Skip to content

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 ​

NameValueDescription
None0No schema operation has been specified.
AlterColumn5Modifies the definition of an existing column.
AlterTable10Modifies the structure of an existing table.
AlterView15Modifies the definition of an existing database view.
CreateColumn50Creates a new column within an existing table.
CreateConstraint55Creates a new constraint in the database.
CreateIndex60Creates an index on an existing table.
CreateSchema65Creates a new schema in the database.
CreateSequence70Creates a new sequence in the database.
CreateTable75Creates a new table in the database.
CreateView80Creates a database view.
DropColumn100Removes an existing column from a table.
DropConstraint105Removes an existing constraint from the database.
DropSequence110Removes an existing sequence from the database.
DropSchema115Removes an existing schema from the database.
DropTable120Removes an existing table from the database.
DropIndex125Removes an existing index.
DropView130Removes an existing database view.
RenameColumn150Renames an existing column within a table.
RenameIndex155Renames an existing index.
RenameTable160Renames an existing table.
Unknown255Represents 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.