final case class ColumnDef(name: String, pgType: PgType, nullable: Boolean, primaryKey: Boolean, checks: List[Check], references: Option[String] = ...)
The runtime description of one column, produced by the Table macro.
This type deliberately renders no DDL. Every create table, alter table, and create index in the framework comes out of schema.Ddl, driven by a Change — the fresh-database path included, via Differ.diff(SchemaSnap(Nil), _). One renderer means the migration path and the reset path cannot drift apart (BACKLOG §4).