ColumnSchema
The ColumnSchema interface describes one column of a table.
default
The default property contains the column's literal DEFAULT value, and is absent when the column declares none. A column declared DEFAULT NULL has a default of null. Read more.
maxLength
The maxLength property contains the most characters a VARCHAR(n) column holds, its n, and is absent for any other column. Read more.
name
The name property contains the column's name, as the table declares it. Read more.
nullable
The nullable property is false when the column is declared NOT NULL or is part of the primary key. Read more.
renamedFrom
The renamedFrom property names a column's former name, which setSchema renames the column from while the table still has a column of that name. getSchema never includes it. Read more.
type
The type property contains the column's runtime ColumnType. Read more.