...
Note |
---|
This functionality is maintained for backward compatibility with older methodologies. The current recommended methodology for introducing database changes is to check SQL scripts into a source control repository and then package them into changesets using deploy packager. |
Overview
You can create changesets for database schema changes directly In the Datical DB GUI. The changesets are inserted into the changelog directly. When the changeset is successfully deployed, the databaseChangeLog table in the tracking schema is updated.
...
- Click a project (Deployment Plan) in the left column. Changesets you create are inserted into the changelog for this project.
- Click Add a Change Set.
- Select the type of changeset to create from the list. You can search types using the Filter box.
- Click Next
- Provide the information required by the changeset type. There may be several pages, depending on the type.
- Click Finalize.
- Provide changeset information for identification, labels, contexts, and deployment behavior.
- Click Finish.
Most commonly used Change Set Types for newer Versions 7.9 and higher
For Oracle use “Execute with sqlplus for Oracle Databases” in the “SQL Script Executors for Liquibase Business & Enterprise” section of the Changeset Wizard
For SQL Server use “Execute with sqlcmd for Microsoft SQL Server & Azure SQL Databases” in the “SQL Script Executors for Liquibase Business & Enterprise” section of the Changeset Wizard (sqlcmd needs to be installed and pointed to by PATH environment variable)
For Azure SQL use “Execute with sqlcmd for Microsoft SQL Server & Azure SQL Databases” in the “SQL Script Executors for Liquibase Business & Enterprise” section of the Changeset Wizard (sqlcmd needs to be installed and pointed to by PATH environment variable)
For DB2 use “Execute with clpplus for DB2 Databases" in the “SQL Script Executors for Liquibase Business & Enterprise” section of the Changeset Wizard (clpplus needs to be installed and pointed to by PATH environment variable)
For PostgreSQL use “Execute with psql for Postgres Databases” in the “SQL Script Executors for Liquibase Business & Enterprise” section of the Changeset Wizard (psql needs to be installed and pointed to by PATH environment variable)
For EnterpriseDB use “Execute with edbplus for EnterpriseDB databases” in the “SQL Script Executors for Liquibase Business & Enterprise” section of the Changeset Wizard
Most commonly used Change Set Types for older Versions 7.8 and lower
For Oracle use “Execute with SQLPlus” in the “Oracle Utilities” section of the Changeset Wizard
For SQL Server use “Execute with SQLCMD” in the “Other” section of the Changeset Wizard (sqlcmd needs to be installed and pointed to by PATH environment variable)
For DB2 use “Execute with CLPPlus” in the “Other” section of the Changeset Wizard (clpplus needs to be installed and pointed to by PATH environment variable)
For PostgreSQL use “Execute with psql” in the “Other” section of the Changeset Wizard (psql needs to be installed and pointed to by PATH environment variable)
For EnterpriseDB use “Custom SQL (External File)” in the “Other” section of the Changeset Wizard