/**
|
* Options for columns that can define a length of the column type.
|
*/
|
export interface ColumnWithWidthOptions {
|
/**
|
* Column type's display width. Used only on some column types in MySQL.
|
* For example, INT(4) specifies an INT with a display width of four digits.
|
*/
|
width?: number;
|
/**
|
* Puts ZEROFILL attribute on to numeric column. Works only for MySQL.
|
* If you specify ZEROFILL for a numeric column, MySQL automatically adds the UNSIGNED attribute to this column
|
*/
|
zerofill?: boolean;
|
/**
|
* Puts UNSIGNED attribute on to numeric column. Works only for MySQL.
|
*/
|
unsigned?: boolean;
|
}
|