Skip to main content
← Back to index page

🔑 Support unique, primary key, null and not null

😍 Yay! dbdiagram.io now supports unique, primary key, null and not null for columns. Use the syntax below to export your diagrams with the new attributes.

Table users {
id integer [primary key]
username varchar [not null, unique]
full_name type [not null]
.....
}