June 4, 2019

Support Enum Syntax

Good news! You can now view your Enum in your fields!

View your predefined constants of a variable all in one database diagram. 😎

Syntax

Enum header_column {
  predefined_1
  predefined_2
  :
}

Example

Enum orders_status {
  created
  running
  done
  failure
}

Table orders {
  id int [pk]
  user_id int [not null, unique]
  status orders_status
  created_at varchar [note: "When order created"]
}

When the user hovers the status field in the diagram, there is an auto-display drop-down of all the Enum values.

Noting.io BETA