create method

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

Adds the field to create statement

Implementation

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