Table : newspaperAds

Raw table description

Fields

id id

{
  "name": "id",
  "type": "primaryKey"
}

dealId  → deals

{
  "name": "dealId",
  "type": "foreignKey",
  "table": "deals"
}

fileId  → files

{
  "name": "fileId",
  "type": "foreignKey",
  "table": "files"
}

subject

{
  "name": "subject",
  "type": "text",
  "maxLength": 200
}

body

{
  "name": "body",
  "type": "text"
}

media

{
  "name": "media",
  "type": "text",
  "maxLength": 50
}

advertisingDate

{
  "name": "advertisingDate",
  "type": "date"
}

updatedDate

{
  "name": "updatedDate",
  "type": "updated"
}