Nimblesite.DataProvider.Migration.Core

Classes

Class Description
AddCheckConstraintOperation Add a check constraint.
AddColumnOperation Add a column to an existing table.
AddForeignKeyOperation Add a foreign key constraint.
AddUniqueConstraintOperation Add a unique constraint.
BigIntType 64-bit signed integer: -9.2E18 to 9.2E18.
BinaryType Fixed-length binary data. Always padded to exact length.
BlobType Unlimited binary storage. No length parameter needed.
BoolDefault A boolean literal value.
BooleanType Boolean true/false value. No parameters needed.
CharType Fixed-length ASCII/single-byte character string. Always padded to exact length.
CheckConstraintDefinition Check constraint that spans multiple columns.
ColumnBuilder Builder for creating column definitions with type, nullability, defaults, and constraints.
ColumnDefinition Column definition with type and all database-agnostic constraints.
CreateIndexOperation Create an index on a table.
CreateOrAlterRoleOperation Create or alter a PostgreSQL role and its declared membership grants.
CreateOrReplaceFunctionOperation Create or replace a PostgreSQL function and declared EXECUTE grants.
CreateRlsPolicyOperation Create a row-level security policy. Additive.
CreateTableOperation Create a new table.
CurrentDateDefault Current date (no time component).
CurrentTimeDefault Current time (no date component).
CurrentTimestampDefault Current timestamp (without timezone).
CurrentTimestampTzDefault Current timestamp with timezone.
DateTimeOffsetType Date and time with timezone offset. No precision parameter.
DateTimeType Date and time without timezone.
DateType Date only (no time component). No parameters needed.
DecimalDefault A decimal/floating point literal value.
DecimalType Exact decimal number with specified precision and scale.
DisableForceRlsOperation Drop FORCE ROW LEVEL SECURITY -- weakens enforcement (table owner
DisableRlsOperation Disable row-level security on a table. DESTRUCTIVE - requires explicit
DoubleType 64-bit IEEE 754 floating point. ~15 significant digits.
DropCheckConstraintOperation Drop a check constraint. Implements [MIG-CHECK-CONSTRAINT-EXPRESSION-DRIFT]
DropColumnOperation Drop a column. DESTRUCTIVE - requires explicit opt-in.
DropForeignKeyOperation Drop a foreign key constraint.
DropFunctionOperation Drop a PostgreSQL function. DESTRUCTIVE - requires explicit opt-in.
DropIndexOperation Drop an index.
DropRlsPolicyOperation Drop a row-level security policy. DESTRUCTIVE - requires explicit opt-in.
DropTableOperation Drop a table. DESTRUCTIVE - requires explicit opt-in.
EnableForceRlsOperation Set FORCE ROW LEVEL SECURITY on a table so RLS applies to the
EnableRlsOperation Enable row-level security on a table. Additive.
EnumType Database enumeration type with named values.
FloatType 32-bit IEEE 754 floating point. ~7 significant digits.
ForeignKeyDefinition Foreign key constraint definition.
GeographyType Spatial geography type for Earth-surface GIS data.
GeometryType Spatial geometry type for GIS data.
GrantPrivilegesOperation Apply a PostgreSQL schema or table grant.
IndexDefinition Index definition (unique or non-unique).
IntDefault An integer literal value.
IntType 32-bit signed integer: -2,147,483,648 to 2,147,483,647.
JsonType JSON document storage. No parameters needed.
LiteralDefault A literal SQL expression to use as-is (no translation).
LqlDefaultTranslator Translates LQL default expressions to platform-specific SQL.
LqlFunctionBodyTranspiler Transpiles LQL scalar expressions into PostgreSQL SQL-language function bodies.
MigrationError Migration error with message and optional inner exception.
MigrationOptions Options for migration execution.
MigrationRunner Migration runner for executing schema operations.
MoneyType Currency type with fixed precision for financial calculations.
NCharType Fixed-length Unicode character string. Always padded to exact length.
NVarCharType Variable-length Unicode character string up to max length.
NewUuidDefault Generate a new random UUID.
NextSequenceDefault Next value from a named sequence.
NullDefault Null as default (for nullable columns).
PortableDefault Platform-independent default value expression.
PortableDefaults Factory methods for portable defaults.
PortableType Database-agnostic type definition. Base sealed type for discriminated union.
PortableTypes Factory methods for portable types.
PostgresFunctionArgumentDefinition PostgreSQL function argument definition.
PostgresFunctionDefinition PostgreSQL SQL-language function definition for RLS helper functions.
PostgresGrantDefinition PostgreSQL grant definition for schema and table privileges.
PostgresRoleDefinition PostgreSQL role definition for migration-managed application roles.
PrimaryKeyDefinition Primary key constraint definition.
RevokePrivilegesOperation Revoke a PostgreSQL schema or table grant. DESTRUCTIVE - requires explicit opt-in.
RlsPolicyDefinition A single RLS policy. The predicate is expressed in LQL and transpiled to
RlsPolicySetDefinition Row-level security policy set attached to a table.
RlsPredicateTranspiler Transpiles LQL row-level security predicates to platform-specific SQL.
RowVersionType Row version / timestamp for optimistic concurrency.
Schema Backward-compatible alias for SchemaFactory.
SchemaBuilder Builder for creating schema definitions with tables, columns, indexes, and constraints.
SchemaConstraintNames Stable constraint name helpers shared by diff and platform DDL generators.
SchemaDefinition Complete database schema definition.
SchemaDiff Calculates the difference between two schema definitions.
SchemaFactory Fluent builder for schema definitions.
SchemaIntegrityVerifier Verifies that an inspected live schema satisfies a declared schema.
SchemaOperation Base type for schema migration operations.
SchemaSerializer Serializes and deserializes schema definitions to/from JSON and YAML.
SchemaYamlSerializer Serializes and deserializes schema definitions to/from YAML.
SmallIntType 16-bit signed integer: -32,768 to 32,767.
SmallMoneyType Small currency type with reduced precision.
StringDefault A string literal value, properly quoted.
TableBuilder Builder for creating table definitions with columns, indexes, foreign keys, and constraints.
TableDefinition Single table definition with columns, indexes, and all constraints.
TextType Unlimited length text storage. No length parameter needed.
TimeType Time only (no date component) with fractional seconds precision.
TinyIntType 8-bit integer: 0 to 255 (unsigned) or -128 to 127 (signed).
UniqueConstraintDefinition Unique constraint (alternative to unique index for semantic clarity).
UuidType 128-bit globally unique identifier. No parameters needed.
VarBinaryType Variable-length binary data up to max length.
VarCharType Variable-length ASCII/single-byte character string up to max length.
VectorType Fixed-dimension floating-point vector for embeddings / similarity search.
XmlType XML document storage. No parameters needed.

Enums

Enum Description
ForeignKeyAction Foreign key referential action.
PostgresGrantTarget PostgreSQL grant target kind.
RlsOperation Operations an RLS policy can apply to. Mirrors PostgreSQL's
RlsPlatform Target platform for an RLS predicate transpilation.