# Database Changes tool window

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/go/llms.txt).

> **TL;DR**
> `View | Tool Windows | Database Changes`

GoLand tracks changes you make to the source code of any database object, provided its source code is stored in a database. For example, such objects are views, stored procedures, triggers, and so on. Tables do not have stored source code.

If there are various changes made to the source code of many objects, you can see all of them in the Database Changes tool window.

> **Note:**
> The Database Changes tool window is available only after you modify the source code of a database object.

![the Database Changes tool window](https://resources.jetbrains.com/help/img/idea/2026.3/db_diff_via_database_changes.png)

| Icon | Action and shortcut | Description |
| --- | --- | --- |
|    ![the Submit button](https://resources.jetbrains.com/help/img/idea/2026.3/database-plugin.icons.expui.submitDB.svg)    |      Submit     `Ctrl+K`     |  Submit local changes to the database server. For more information about submitting and reverting changes, refer to [Submit changes to a database](https://www.jetbrains.com/help/go/submitting-and-reverting-changes.html.md).  |
|  ![the Roll back icon](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.vcs.revert.svg)    |     Roll back     `Ctrl+Alt+Z`       |  (For the Manual transaction mode.) Roll back changes.   |
|  ![the Show Diff icon](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.vcs.diff.svg)  |     Show Diff       [Compare Files shortcut](https://www.jetbrains.com/help/go/llms-keymap-index.md "CompareTwoFiles")     |  Compare and see the difference between the code that you edited and the one from source code.  |
|  ![the Group by icon](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.general.show.svg)  |     Group by     |  Group objects according to their type. For example, routines, rules, or views.  |
|  ![the Expand All icon](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.general.expandAll.svg)  |     Expand All       [Expand All shortcut](https://www.jetbrains.com/help/go/llms-keymap-index.md "ExpandAll")     | Expand all nodes in all trees. |
|  ![the Collapse All icon](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.expui.general.collapseAll.svg)  |     Collapse All       [Collapse All shortcut](https://www.jetbrains.com/help/go/llms-keymap-index.md "CollapseAll")     | Collapse all nodes in all trees. |

## See also

### Getting Started

[Tool windows](https://www.jetbrains.com/help/go/tool-windows.html.md)

### Procedures

[Modify source code of database objects](https://www.jetbrains.com/help/go/modifying-source-code-of-database-objects.html.md)

