PostgresTableField constructor

const PostgresTableField(
  1. DslType type, {
  2. String description = '',
  3. String postgresType = '',
  4. String? foreignKey,
  5. bool isPrimaryKey = false,
  6. bool isRequired = false,
  7. bool hasDefault = false,
})

Implementation

const PostgresTableField(
  this.type, {
  this.description = '',
  this.postgresType = '',
  this.foreignKey,
  this.isPrimaryKey = false,
  this.isRequired = false,
  this.hasDefault = false,
});