CloudStorageDirectUploadEntryTable constructor

CloudStorageDirectUploadEntryTable({
  1. TableRelation? tableRelation,
})

Implementation

CloudStorageDirectUploadEntryTable({super.tableRelation})
  : super(tableName: 'serverpod_cloud_storage_direct_upload') {
  updateTable = CloudStorageDirectUploadEntryUpdateTable(this);
  storageId = _is.ColumnString(
    'storageId',
    this,
  );
  path = _is.ColumnString(
    'path',
    this,
  );
  expiration = _is.ColumnDateTime(
    'expiration',
    this,
  );
  authKey = _is.ColumnString(
    'authKey',
    this,
  );
  maxFileSize = _is.ColumnInt(
    'maxFileSize',
    this,
    hasDefault: true,
  );
  contentLength = _is.ColumnInt(
    'contentLength',
    this,
  );
  preventOverwrite = _is.ColumnBool(
    'preventOverwrite',
    this,
    hasDefault: true,
  );
  contentType = _is.ColumnString(
    'contentType',
    this,
  );
  cacheControl = _is.ColumnString(
    'cacheControl',
    this,
  );
  contentDisposition = _is.ColumnString(
    'contentDisposition',
    this,
  );
  contentEncoding = _is.ColumnString(
    'contentEncoding',
    this,
  );
  customMetadata = _is.ColumnString(
    'customMetadata',
    this,
  );
}