Skip to content

RoleChangeNotification

  • Engine: SQL (Django model / relational table)
  • App: reference
  • Table/Collection: reference_rolechangenotification
  • Verbose name: role change notification

A note made when we need to inform another organisation something changed. Typically deleted when they are notified

Field Type Column/Key Null/Default PK Choices Notes
id AutoField id — PK — —
created DateTimeField created null — —
kind CharField kind — — what kind of notification?
role ForeignKey → Role (FK) role_id — — —
error CharField error — — API error response
status CharField status dflt=NEW NEW: new; SENT: Sent Has it been sent off yet?
date_notified DateField date_notified null — When notified
body TextField body — — JSON or other message body sent

Field names link to their fuller explanation below.

Field details

Click a field name in the table above to jump to its explanation. Fields with no help text yet show a prompt, and are the ones to improve by adding a help_text on the model field, then regenerating.

id

  • Engine: SQL
  • Type: AutoField
  • Column/Key: id
  • primary key

No help text yet — add a help_text on the model field and regenerate to fill this in.

created

  • Engine: SQL
  • Type: DateTimeField
  • Column/Key: created
  • nullable

No help text yet — add a help_text on the model field and regenerate to fill this in.

kind

  • Engine: SQL
  • Type: CharField
  • Column/Key: kind

what kind of notification?

role

  • Engine: SQL
  • Type: ForeignKey → Role (FK)
  • Column/Key: role_id

No help text yet — add a help_text on the model field and regenerate to fill this in.

error

  • Engine: SQL
  • Type: CharField
  • Column/Key: error

API error response

status

  • Engine: SQL
  • Type: CharField
  • Column/Key: status
  • default = NEW; choices: NEW: new; SENT: Sent

Has it been sent off yet?

date_notified

  • Engine: SQL
  • Type: DateField
  • Column/Key: date_notified
  • nullable

When notified

body

  • Engine: SQL
  • Type: TextField
  • Column/Key: body

JSON or other message body sent

Generated by docs_models management command for SQL.