Appearance
SchemaVersion Class
Definition
Represents version information for a tracked database schema change.
- Namespace:
JASE.Database.Models - Assembly:
JASE.Database.dll
Constructors
| Name | Description |
|---|---|
SchemaVersion() |
Properties
| Name | Description |
|---|---|
AppliedAt | Gets or sets the timestamp when this schema version was applied. |
AppliedBy | Gets or sets the identifier of the actor or process that applied this schema version. |
Before | Gets or sets a binary snapshot of the schema state before the change was applied. |
BeforeHash | Gets or sets a hash of the Before snapshot. |
DdlJson | Gets or sets a JSON representation of the DDL statements applied. |
Id | Gets or sets the unique identifier for this schema version entry. |
IsRollback | Gets or sets a value indicating whether this version represents a rollback operation. |
PreSnapshotsJson | Gets or sets a JSON snapshot of the schema state prior to applying this version. |
SchemaHash | Gets or sets a hash representing the schema model state. |
SchemaName | Gets the name of the Schema |
Statements | Gets the list of SQL statements associated with this schema version. |
Version | Gets or sets the logical version number of the schema. |
Remarks
Instances of this class describe a single schema migration or evolution step, including when it was applied, what changed, and who applied it. This model is typically used at the application or tooling layer rather than being mapped directly to a database table.