TableProperty constructor

TableProperty({
  1. required String name,
  2. required String type,
  3. required bool isNullable,
  4. required bool isPrimaryKey,
  5. required bool isAutoIncrement,
})

Creates a new TableProperty instance.

name The database column name type The PostgreSQL data type isNullable Whether the column accepts NULL values isPrimaryKey Whether this is a primary key column isAutoIncrement Whether the column auto-increments

Implementation

TableProperty({
  required this.name,
  required this.type,
  required this.isNullable,
  required this.isPrimaryKey,
  required this.isAutoIncrement,
});