Settings
Use the DbSchema Settings dialog to configure DbSchema itself, from the network proxy to the SQL that DbSchema writes for your database. You rarely need to change these settings. This page shows where each one is.
The design is your DbSchema project: the tables, columns and diagrams that you see in DbSchema. The database is the real database on the server. A setting belongs to your DbSchema installation, not to one design. Changing a setting doesn't change the design or the database at once. It changes what DbSchema does next, such as the SQL that it writes.
Open the settings
- Choose Edit → Settings.
- Pick a section at the top:
- General holds the settings of the whole application.
- DBMS Specific holds the data types and the SQL of one database type, such as PostgreSQL. DBMS means database management system: the database software, such as PostgreSQL or MySQL.
- Click a page in the list on the left. Its settings show on the right, each with a line that explains it.
- Press OK to save your changes, or Cancel to discard them.
Some settings take effect only when DbSchema starts again, such as Use Software Rendering. After OK, DbSchema then says "These changes require restarting DbSchema."
Find a setting
Type a word into the box above the list, such as proxy or order.
The list then shows only the pages that hold a setting with the word in its name or description.
The name of a setting that you changed shows in another color. Pages with changed settings show in brighter text in the list, so you can find your changes again.
The pages of the General section
| Page | What it holds |
|---|---|
| Language & Formats | The language of DbSchema, and how it shows dates, times and numbers |
| Projects | How DbSchema opens, saves and checks a project. See Change how DbSchema saves and checks a project. |
| Reverse Engineering | How DbSchema reads the tables and other objects of an existing database into the design, which is called reverse engineering. See Sort columns alphabetically. |
| SQL Editor | The SQL Editor, and Read-Only Mode, which stops every SQL statement from running, SELECT included |
| Query Builder | The Query Builder, and Show Usage Tips (whole application), which turns the tip bubbles of DbSchema on or off |
| Data Explorer | How many rows the Data Explorer shows per page, and whether it shows row numbers |
| Data Loader & Generator | The Data Importer and the Data Generator |
| Schema Export | The comment above each CREATE TABLE in the script that File → Export As... → Export Schema & Data writes |
| HTML & PDF Documentation | The logo and the logo text of the documentation |
| AI | The AI Assistant, the MCP server and the AI security settings. See Set up the AI. |
| Network | Proxy, SSL Certificates and SSH Tunnels. See Set the network proxy. |
| File Locations | Where DbSchema keeps its configuration, the connections, the passwords and the automation scripts |
| Command Line (DbSchemaCLI) | The command-line client |
| Updates & Notifications | The reminder to renew the license, and the check for new JDBC drivers at startup |
| Graphics | Use Software Rendering. See Fix slow graphics and Remote Desktop problems. |
Change how DbSchema saves and checks a project
The Projects page, in the picture at the top of this page, holds the settings for every project that you open:
- With Keep a .bak Copy When Saving, DbSchema keeps the previous version of the model file as a backup, a
.bakfile next to it. - With Validate Before Save, DbSchema runs your validation rules before each save. If a rule fails, DbSchema shows the failures and asks before it saves. See Validate before you save.
- With Run Model Checks, DbSchema checks the design after every change, for example for a table without a primary key. Its results show in the toolbar and on the diagram. Model Validation explains the checks.
- Enable Beta Features shows the features that are still being developed or tested, such as the MCP server.
Set up the AI
The AI page contains these pages:
- On the AI Assistant page, Enable AI Assistant turns the AI chat pane of DbSchema on or off. System Message holds the general instructions that the assistant receives. See AI Assistant.
- On the MCP page, Enable MCP server lets your own AI agent, such as Claude Code, work in DbSchema. This page shows only when Projects → Enable Beta Features is ticked. See MCP Server.
- On the Security page, you choose what the AI may do without asking you. You also choose the default preset for new projects: a preset is a named set of these permissions. This page shows only while the AI Assistant or the MCP server is on. See AI Permissions.
Set the network proxy
A proxy is a server that the computers of a company use to reach the internet. If your company uses one, DbSchema has to use it too. This includes downloading JDBC drivers and working with Git over HTTPS.
- Choose Edit → Settings.
- Open Network → Proxy.
- Choose the proxy in System Proxy. Press the pencil button next to it to add or edit a proxy.
- Press OK.
The proxy section of Firewall, Proxy & SSH Tunnel explains the proxy types and the bypass rules. Network → SSL Certificates sets which server certificates DbSchema trusts, as Trust your company's certificate shows.
Sort columns alphabetically
DbSchema shows the columns of a table in the order that the database lists them.
- To sort the columns of every table that you load from the database, tick Reverse Engineering → Order Columns Alphabetically.
- To sort one table in the design, right-click its header on the diagram and choose Order Columns Alphabetically ( Pk First ). The primary key columns stay first.
Either way, the database keeps its own column order. A database has no way to reorder the columns of an existing table.
Collapse Tables With More Columns Than, on the same page, helps with tables that have many columns. When DbSchema loads a table with more columns than this number, the diagram shows only its primary key and foreign key columns.
Change the SQL that DbSchema writes for a database
DbSchema uses SQL templates to write statements such as CREATE TABLE and RENAME for each database type.
A template is an SQL statement with placeholders that DbSchema replaces with real names and values.
If your database needs another syntax, you can change the template. The change applies to every project of that database type.
- Choose Edit → Settings and open the DBMS Specific section.
- In DBMS, choose the database type. The database type of your project is selected at first.
- In the Settings tab, open SQL Syntax and the kind of object, such as Table.
- Edit the SQL statement. Below each statement, DbSchema lists the placeholders that it replaces with real values.
- Press OK.
For example, the PostgreSQL template to rename a table is ALTER TABLE ${table} RENAME TO ${newName}. DbSchema replaces ${table} and ${newName} with the old and the new name.
The Settings tab also has the pages Behavior, SQL Editor, Reverse Engineering, Synchronization, Formatting and Server. They all apply to the selected database type. To add a database type that DbSchema does not know, press Define New.
Other dialogs lead to the DBMS Specific section too:
- In Database → Synchronization Settings, SQL Settings opens it.
- In the column dialog, choose Manage Types and Suggestions... at the bottom of the data type list. It opens the Data Types tab.
Edit the data types of a database
The Data Types tab lists the data types that DbSchema offers for the selected database type. You see them in the column dialog, and DbSchema uses them when it converts a design to another database.
- Data Type is the name as the database writes it, such as
varchar. - Precision says what the type takes in parentheses after its name.
NONEtakes nothing, as ininteger.LENGTHtakes a length, as invarchar(100).DECIMALtakes a size and decimals, as innumeric(10,2): 10 digits in all, 2 of them after the decimal point.ENUMERATIONtakes a list of values. - Equivalent Java Type is the matching general type, as Java names it. DbSchema uses it to pick a matching type when it converts a design to another database with Model → Convert Model.
- If Preferred is ticked, DbSchema uses this type where it can. For example, if
integeris an alias ofnumber(12,0)andintegeris ticked, DbSchema convertsnumber(12,0)tointeger.
Press Add to define a type, or Learn from Database to read the types from the connected database.
Share your settings
The Import, Export and Restore buttons under each list work on the settings of that list only:
- Export saves them to a file.
- Import reads them from a file, such as one that a colleague exported.
- Restore asks you first, then sets them back to the defaults. Press OK in the Settings dialog to keep the defaults, or Cancel to get your settings back.
Common problems
Where is the proxy setting?
In Edit → Settings, General section, Network → Proxy. Type proxy into the box above the list to jump there.
I cannot find the MCP page
The MCP page shows only with beta features on. Tick Projects → Enable Beta Features, and the page appears under AI.
I cannot find the Security page under AI
The Security page shows only while the AI Assistant or the MCP server is on. Tick AI → AI Assistant → Enable AI Assistant, or turn on the MCP server.