create method

void create(
  1. Create statement, {
  2. bool isNullable = false,
  3. String? uniqueGroup,
})

Adds the field to create statement

Implementation

void create(Create statement,
    {bool isNullable = false, String? uniqueGroup}) {
  statement.addDateTime(name,
      isNullable: isNullable, uniqueGroup: uniqueGroup);
}