softDeletes method

void softDeletes({
  1. String columnName = 'deleted_at',
  2. bool timezoneAware = false,
  3. int precision = 3,
})

Implementation

void softDeletes({
  String columnName = 'deleted_at',
  bool timezoneAware = false,
  int precision = 3,
}) {
  timestamp(
    columnName,
    timezoneAware: timezoneAware,
    precision: precision,
  ).nullable();
}