API reference@evolu/commonlocal‑first/Schema › SystemColumns

Defined in: packages/common/src/local-first/Schema.ts:164

System columns that are implicitly defined by Evolu.

  • createdAt: Set by Evolu on row creation, derived from Timestamp.
  • updatedAt: Set by Evolu on every row change, derived from Timestamp.
  • isDeleted: Soft delete flag created by Evolu and used by the developer to mark rows as deleted.
  • ownerId: Represents ownership and logically partitions the database.

Extends

Properties

createdAt

createdAt: string & Brand<"DateIso">;

Inherited from

SystemColumns.createdAt


isDeleted

isDeleted: 0 | 1 | null;

Inherited from

SystemColumns.isDeleted


ownerId

ownerId: string & Brand<"Id"> & Brand<"OwnerId">;

Inherited from

SystemColumns.ownerId


updatedAt

updatedAt: string & Brand<"DateIso">;

Inherited from

SystemColumns.updatedAt