create method

void create(
  1. Create statement, {
  2. bool autoIncrement = false,
  3. bool primary = false,
  4. bool isNullable = false,
  5. String? foreignTable,
  6. String? foreignCol,
  7. String? uniqueGroup,
})

Adds the field to create statement

Implementation

void create(Create statement,
    {bool autoIncrement = false,
    bool primary = false,
    bool isNullable = false,
    String? foreignTable,
    String? foreignCol,
    String? uniqueGroup}) {
  statement.addInt(name,
      isNullable: isNullable,
      autoIncrement: autoIncrement,
      primary: primary,
      foreignTable: foreignTable,
      foreignCol: foreignCol,
      uniqueGroup: uniqueGroup);
}