PhoenixKit.Modules.Sync.ColumnInfo (phoenix_kit v1.7.71)

Copy Markdown View Source

Struct representing a single database column's metadata.

Fields

  • name - Column name
  • type - PostgreSQL data type (e.g., "bigint", "text")
  • nullable - Whether the column allows NULL values
  • primary_key - Whether the column is part of the primary key
  • default - Default value expression or nil
  • max_length - Maximum character length or nil
  • precision - Numeric precision or nil
  • scale - Numeric scale or nil

Summary

Types

t()

@type t() :: %PhoenixKit.Modules.Sync.ColumnInfo{
  default: String.t() | nil,
  max_length: integer() | nil,
  name: String.t(),
  nullable: boolean(),
  precision: integer() | nil,
  primary_key: boolean(),
  scale: integer() | nil,
  type: String.t()
}