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.

The DbSchema Settings dialog, General section, on the Projects page: Reopen Last Project at Startup, Keep a .bak Copy When Saving, Validate Before Save, Run Model Checks and Enable Beta Features

Open the settings

  1. Choose Edit → Settings.
  2. 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.
  3. Click a page in the list on the left. Its settings show on the right, each with a line that explains it.
  4. 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

PageWhat it holds
Language & FormatsThe language of DbSchema, and how it shows dates, times and numbers
ProjectsHow DbSchema opens, saves and checks a project. See Change how DbSchema saves and checks a project.
Reverse EngineeringHow DbSchema reads the tables and other objects of an existing database into the design, which is called reverse engineering. See Sort columns alphabetically.
SQL EditorThe SQL Editor, and Read-Only Mode, which stops every SQL statement from running, SELECT included
Query BuilderThe Query Builder, and Show Usage Tips (whole application), which turns the tip bubbles of DbSchema on or off
Data ExplorerHow many rows the Data Explorer shows per page, and whether it shows row numbers
Data Loader & GeneratorThe Data Importer and the Data Generator
Schema ExportThe comment above each CREATE TABLE in the script that File → Export As... → Export Schema & Data writes
HTML & PDF DocumentationThe logo and the logo text of the documentation
AIThe AI Assistant, the MCP server and the AI security settings. See Set up the AI.
NetworkProxy, SSL Certificates and SSH Tunnels. See Set the network proxy.
File LocationsWhere DbSchema keeps its configuration, the connections, the passwords and the automation scripts
Command Line (DbSchemaCLI)The command-line client
Updates & NotificationsThe reminder to renew the license, and the check for new JDBC drivers at startup
GraphicsUse 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 .bak file 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.
The AI Assistant page of the Settings dialog, with Enable AI Assistant ticked and the System Message, and the AI Assistant and Security pages under AI in the list

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.

  1. Choose Edit → Settings.
  2. Open Network → Proxy.
  3. Choose the proxy in System Proxy. Press the pencil button next to it to add or edit a proxy.
  4. Press OK.
The Proxy page of the Settings dialog, with System Proxy set to Automatic

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.
The Reverse Engineering page of the Settings dialog: Order Columns Alphabetically, Collapse Tables With More Columns Than 50, and Refresh Model After DDL in SQL Editor

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.

  1. Choose Edit → Settings and open the DBMS Specific section.
  2. In DBMS, choose the database type. The database type of your project is selected at first.
  3. In the Settings tab, open SQL Syntax and the kind of object, such as Table.
  4. Edit the SQL statement. Below each statement, DbSchema lists the placeholders that it replaces with real values.
  5. Press OK.
The DBMS Specific section for PostgreSQL, with the SQL Syntax templates of tables: Create Table, Rename Table, Drop Table and Comment

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.

The Data Types tab for PostgreSQL, with the columns Data Type, Precision, Equivalent Java Type, Options and Preferred
  • Data Type is the name as the database writes it, such as varchar.
  • Precision says what the type takes in parentheses after its name. NONE takes nothing, as in integer. LENGTH takes a length, as in varchar(100). DECIMAL takes a size and decimals, as in numeric(10,2): 10 digits in all, 2 of them after the decimal point. ENUMERATION takes 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 integer is an alias of number(12,0) and integer is ticked, DbSchema converts number(12,0) to integer.

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.

Next steps