Skip to content

Type Alias: DateColumnOptions

ts
type DateColumnOptions = DataTypeColumnOptions & {
  autoCreate: boolean;
  autoUpdate: boolean;
};

Options for date columns including autoCreate and autoUpdate flags.

Type Declaration

NameType
autoCreateboolean
autoUpdateboolean

Example

ts
{
  autoCreate: true,
  autoUpdate: false,
  nullable: false,
}