Education

Bytebase 1.8.0 New Features Dive

Tianzhou
2 min read

Last week, we released Bytebase 1.8.0. Let's take a deeper look into some of the new features.

MySQL Sync Schema

_

You can now specify to synchronize the schema from database A to database B, and Bytebase will automatically generate the intermediate DDL statements to be executed.

Usually, developers make database changes in the test environment first and then apply the changes to the prod environment afterward. Before Sync Schema, you need to carefully write out the statements that need to be changed by themselves. Now, you can simply let Bytebase know which database schema needs to be applied to the target database.

We are planning to add Sync Schema support for PostgreSQL soon.

Admin Mode for SQL Editor

_

A key selling point of Bytebase is that all scenarios that need database access can be done through Bytebase (aside from the app itself accessing the database). Before this release, Bytebase could already perform database changes and queries on behalf of the application developers.

However, dedicated DBAs, or those responsible for database operations in DevOps teams, need to perform higher privileged operations.Admin Mode meets this need, and it is only available to DBAs or Owner role holders in a workspace and needs to be switched on manually in the SQL Editor.

Thus, all scenarios in which human beings deal with databases can be performed via Bytebase, except for those where the application deals with the database. Companies no longer need to distribute database access keys or configure separate bastion/jump servers, as Bytebase controls access and operations. Bytebase also identifies dangerous statements, reducing the chance of human mistakes, while the DBA can configure SQL review policy and control database access at the global level.

External Approval via Feishu (Lark)

Previously, you could configure to get database change notifications via Webhook.

Some users mentioned that they would like to approve changes directly in IM. In this release, we first added support for Feishu, and you can now review and approve Bytebase issues via Feishu Approval.

_

We will continue to add support for other IMs as well. Leave us an Issue if you'd like to see the IM in your organization supported!