Struct ColumnSchema
pub struct ColumnSchema {
pub name: &'static str,
pub rust_type: &'static str,
pub nullable: bool,
pub primary_key: bool,
pub unique: bool,
pub autoincrement: bool,
pub default_expr: Option<&'static str>,
}Expand description
Runtime column metadata (generated by derive macro).
The SQL column name.
The Rust type name as a canonical string (spaces stripped).
Whether this column is nullable.
Whether this column is the primary key.
Whether this column has a UNIQUE constraint.
Whether this column auto-increments.
Raw SQL default expression, if any.