MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / text_null

Function text_null

sea-orm-migration/src/schema.rs:133–135  ·  view source on GitHub ↗
(col: T)

Source from the content-addressed store, hash-verified

131}
132
133pub fn text_null<T: IntoIden>(col: T) -> ColumnDef {
134 ColumnDef::new(col).text().null().take()
135}
136
137pub fn text_uniq<T: IntoIden>(col: T) -> ColumnDef {
138 text(col).unique_key().take()

Callers

nothing calls this directly

Calls 3

takeMethod · 0.80
newFunction · 0.50
nullMethod · 0.45

Tested by

no test coverage detected