Good database schema documentation can be hard to find, especially for Connectwise Automate (labtech database). The current schemas published elsewhere are outdated, especially considering the application modifies the schema with each patch.
Here at Automation Theory, we wanted to fix that. Our goal is to provide an always-up-to-date schema guide. To do this we’re leveraging an automated schema mapping tool, and we intend to update the schema for each Automate patch. The current schema is for Connectwise Automate 2025 Patch 2.
IMPORTANT NOTE: To improve the diagramming we set labtech.computers.computerid to be a primary key (in the default schema the computerid column of the computers table is not a PK; it’s only a unique index).
The labtech database has a structure that is less than ideal. However, certain things are not easily changeable once in production. The first implication of this is that the schema mapping tool doesn’t always detect relationships correctly (it’s making a lot of educated guesses). The second implication is that there’s a steep learning curve in navigating the database. Below are a few tips for Automate administrators new to the database: