Type Alias: DateColumnOptions
ts
type DateColumnOptions = DataTypeColumnOptions & {
autoCreate: boolean;
autoUpdate: boolean;
};Options for date columns including autoCreate and autoUpdate flags.
Type Declaration
| Name | Type |
|---|---|
autoCreate | boolean |
autoUpdate | boolean |
Example
ts
{
autoCreate: true,
autoUpdate: false,
nullable: false,
}