Skip to main content

✨ Table Group - Personal Pro feature

We're constantly working to improve your dbdiagram experience. One of the most requested features is the ability to categorize related tables. From today, you can do that with Table Group.

To start using Table Group, use the following syntax:

tablegroup group_name {
table_name1
table_name2
...
}

For example, to create a group named access_control that includes users, groups, user_group_mapping tables (as shown in the gif above):

tablegroup access_control {
users
groups
user_group_mapping
}

Please note that Table Group is a Personal Pro feature. You can learn more about Personal Pro Plan here.


🌙 Dark Mode has arrived

We're joining the dark side! It's easier on the eyes for you night owls. Or if you just want to change a bit, sure it'll make things look better.


🎨 Table Header Color - Personal Pro feature

Ready to make your diagrams more colorful ? 🤩🌈🙈

We're excited to announce that you can now easily decorate your diagram by changing table header color.

Table header color syntax example

Table users as U [headercolor: #d35400] {
id int
full_name varchar
created_at timestamp
country_code int
}

Table Header Color is a premium feature of dbdiagram.io.

All you need to unlock this premium feature is to TWEET about us on Twitter.

Here is the guide 👇

  • Step 1: Tweet about us on Twitter

  • Step 2: Copy and paste your tweet link

  • Step 3: Claim the premium feature

That's it. Enjoy and make beautiful diagrams 😎


🗂️ Support Export Database to SQL Server

We're excited to share that Export DBML Schema to SQL Server is now supported !

Now you can quickly design and visualize your database schema and export to SQL Server.


🎉 Support auto-increment

We heard you! dbdiagram.io now supports auto-increment!

Our DBML sample code:

Table users {
id integer [pk, increment]
name varchar [not null]
}

When in PostgreSQL:

CREATE TABLE "users" (
"id" SERIAL PRIMARY KEY,
"name" varchar NOT NULL
)

When in MySQL:

CREATE TABLE `users`
(
`id` integer PRIMARY KEY AUTO_INCREMENT,
`name` varchar(255) NOT NULL
)

Also, do check out our new community forum on https://community.dbdiagram.io/!