Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
docs: note the JSON structure chagne should follow DDL change practice (#4244)
Tianzhou (天舟)a84f021c8a3b
diff --git a/docs/schema-update-guide.md b/docs/schema-update-guide.mdindex 0f70f039f4..81269dbe54 100644--- a/docs/schema-update-guide.md+++ b/docs/schema-update-guide.md@@ -37,4 +37,8 @@ Releaser should take the following steps for schema update release, about once a2. Update `prod/LATEST.sql` and `prod/LATEST_DATA.sql` w.r.t. DDLs to be released. (TODO: auto-generate the latest schema)3. Copy over Dev Demo data to Prod Demo directory for the changes to be released.+### DML Change++> **Note** Changing the structure of a JSON field is considered to be a schema change and should follow the DDL change practice. See [this example](https://github.com/bytebase/bytebase/pull/4232/files#diff-199bfe21ce52a70858acbc212c5463c8bd7853c09b077c4da53cd73ccee38e8b)+For DML file release, we don't need to bump up the minor version because the database schema does not change. We can move the file to the current schema release directory and rename it by following the format above. See [this example](https://github.com/bytebase/bytebase/pull/2439).\ No newline at end of file