diff --git a/exporter/schema.json b/exporter/schema.json index f6dd358..36da774 100644 --- a/exporter/schema.json +++ b/exporter/schema.json @@ -37,11 +37,13 @@ }, "create_db": { "type": "boolean", - "description": "When true, issues CREATE DATABASE IF NOT EXISTS before restoring a single-database dump. Defaults to false." + "default": false, + "description": "When enabled, issues CREATE DATABASE IF NOT EXISTS before restoring a single-database dump." }, "force": { "type": "boolean", - "description": "When true, passes --force to mysql so restore continues after SQL errors. Defaults to false." + "default": false, + "description": "When enabled, passes --force to mysql so restore continues after SQL errors." }, "mysql_bin_dir": { "type": "string", diff --git a/importer/schema.json b/importer/schema.json index d6015fc..0b803ad 100644 --- a/importer/schema.json +++ b/importer/schema.json @@ -37,38 +37,47 @@ }, "single_transaction": { "type": "boolean", - "description": "Use --single-transaction for a consistent InnoDB snapshot without locking tables (default: true). Strongly recommended for production InnoDB databases. MyISAM tables still require table locks even with this option." + "default": true, + "description": "Use --single-transaction for a consistent InnoDB snapshot without locking tables. Strongly recommended for production InnoDB databases. MyISAM tables still require table locks even with this option." }, "routines": { "type": "boolean", - "description": "Include stored procedures and functions via --routines (default: true)." + "default": true, + "description": "Include stored procedures and functions via --routines." }, "events": { "type": "boolean", - "description": "Include event scheduler events via --events (default: true)." + "default": true, + "description": "Include event scheduler events via --events." }, "triggers": { "type": "boolean", - "description": "Include triggers (default: true). Set to false to pass --skip-triggers." + "default": true, + "description": "Include triggers. Set to false to pass --skip-triggers." }, "no_data": { "type": "boolean", - "description": "When true, passes --no-data so only DDL statements are dumped (no INSERT rows). Mutually exclusive with no_create_info." + "default": false, + "description": "When enabled, passes --no-data so only DDL statements are dumped (no INSERT rows). Mutually exclusive with no_create_info." }, "no_create_info": { "type": "boolean", - "description": "When true, passes --no-create-info so only INSERT statements are dumped (no DDL). Mutually exclusive with no_data." + "default": false, + "description": "When enabled, passes --no-create-info so only INSERT statements are dumped (no DDL). Mutually exclusive with no_data." }, "no_tablespaces": { "type": "boolean", - "description": "Suppress CREATE LOGFILE GROUP and CREATE TABLESPACE statements (--no-tablespaces, default: true). Recommended for restoring to managed or cloud MySQL instances that do not support custom tablespaces." + "default": true, + "description": "Suppress CREATE LOGFILE GROUP and CREATE TABLESPACE statements (--no-tablespaces). Recommended for restoring to managed or cloud MySQL instances that do not support custom tablespaces." }, "column_statistics": { "type": "boolean", - "description": "Query information_schema.COLUMN_STATISTICS for histogram data (default: true, matching mysqldump 8.0 behaviour). Set to false to pass --column-statistics=0, which is required when the mysqldump binary is 8.0 but the source server is MySQL 5.7 or MariaDB." + "default": true, + "description": "Query information_schema.COLUMN_STATISTICS for histogram data (matching mysqldump 8.0 behaviour). Set to false to pass --column-statistics=0, which is required when the mysqldump binary is 8.0 but the source server is MySQL 5.7 or MariaDB." }, "hex_blob": { "type": "boolean", + "default": false, "description": "Dump BINARY, VARBINARY, BLOB, and BIT columns using hexadecimal notation (--hex-blob). Useful when the dump may be loaded on a system with different character set settings." }, "set_gtid_purged": { diff --git a/plugin/mariadb-exporter/schema.json b/plugin/mariadb-exporter/schema.json index 273bf71..0f88cbd 100644 --- a/plugin/mariadb-exporter/schema.json +++ b/plugin/mariadb-exporter/schema.json @@ -37,11 +37,13 @@ }, "create_db": { "type": "boolean", - "description": "When true, issues CREATE DATABASE IF NOT EXISTS before restoring a single-database dump. Defaults to false." + "default": false, + "description": "When enabled, issues CREATE DATABASE IF NOT EXISTS before restoring a single-database dump." }, "force": { "type": "boolean", - "description": "When true, passes --force to mariadb so restore continues after SQL errors. Defaults to false." + "default": false, + "description": "When enabled, passes --force to mariadb so restore continues after SQL errors." }, "mariadb_bin_dir": { "type": "string", diff --git a/plugin/mariadb-importer/schema.json b/plugin/mariadb-importer/schema.json index eaa1df9..4631a32 100644 --- a/plugin/mariadb-importer/schema.json +++ b/plugin/mariadb-importer/schema.json @@ -37,34 +37,42 @@ }, "single_transaction": { "type": "boolean", - "description": "Use --single-transaction for a consistent InnoDB snapshot without locking tables (default: true). Strongly recommended for production InnoDB databases." + "default": true, + "description": "Use --single-transaction for a consistent InnoDB snapshot without locking tables. Strongly recommended for production InnoDB databases." }, "routines": { "type": "boolean", - "description": "Include stored procedures and functions via --routines (default: true)." + "default": true, + "description": "Include stored procedures and functions via --routines." }, "events": { "type": "boolean", - "description": "Include event scheduler events via --events (default: true)." + "default": true, + "description": "Include event scheduler events via --events." }, "triggers": { "type": "boolean", - "description": "Include triggers (default: true). Set to false to pass --skip-triggers." + "default": true, + "description": "Include triggers. Set to false to pass --skip-triggers." }, "no_data": { "type": "boolean", - "description": "When true, passes --no-data so only DDL statements are dumped (no INSERT rows). Mutually exclusive with no_create_info." + "default": false, + "description": "When enabled, passes --no-data so only DDL statements are dumped (no INSERT rows). Mutually exclusive with no_create_info." }, "no_create_info": { "type": "boolean", - "description": "When true, passes --no-create-info so only INSERT statements are dumped (no DDL). Mutually exclusive with no_data." + "default": false, + "description": "When enabled, passes --no-create-info so only INSERT statements are dumped (no DDL). Mutually exclusive with no_data." }, "no_tablespaces": { "type": "boolean", - "description": "Suppress CREATE LOGFILE GROUP and CREATE TABLESPACE statements (--no-tablespaces, default: true). Recommended for restoring to managed MariaDB instances." + "default": true, + "description": "Suppress CREATE LOGFILE GROUP and CREATE TABLESPACE statements (--no-tablespaces). Recommended for restoring to managed MariaDB instances." }, "hex_blob": { "type": "boolean", + "default": false, "description": "Dump BINARY, VARBINARY, BLOB, and BIT columns using hexadecimal notation (--hex-blob). Useful when the dump may be loaded on a system with different character set settings." }, "mariadb_bin_dir": { diff --git a/plugin/mysql-proxy-exporter/schema.json b/plugin/mysql-proxy-exporter/schema.json index a8eec12..154fc36 100644 --- a/plugin/mysql-proxy-exporter/schema.json +++ b/plugin/mysql-proxy-exporter/schema.json @@ -32,11 +32,13 @@ }, "create_db": { "type": "boolean", - "description": "When true, issues CREATE DATABASE IF NOT EXISTS before restoring a single-database dump. Defaults to false." + "default": false, + "description": "When enabled, issues CREATE DATABASE IF NOT EXISTS before restoring a single-database dump." }, "force": { "type": "boolean", - "description": "When true, passes --force to mysql so restore continues after SQL errors. Defaults to false." + "default": false, + "description": "When enabled, passes --force to mysql so restore continues after SQL errors." }, "mysql_bin_dir": { "type": "string", diff --git a/plugin/mysql-proxy-importer/schema.json b/plugin/mysql-proxy-importer/schema.json index 6810aff..bb43059 100644 --- a/plugin/mysql-proxy-importer/schema.json +++ b/plugin/mysql-proxy-importer/schema.json @@ -32,38 +32,47 @@ }, "single_transaction": { "type": "boolean", - "description": "Use --single-transaction for a consistent InnoDB snapshot without locking tables (default: true). Strongly recommended for production InnoDB databases. MyISAM tables still require table locks even with this option." + "default": true, + "description": "Use --single-transaction for a consistent InnoDB snapshot without locking tables. Strongly recommended for production InnoDB databases. MyISAM tables still require table locks even with this option." }, "routines": { "type": "boolean", - "description": "Include stored procedures and functions via --routines (default: true)." + "default": true, + "description": "Include stored procedures and functions via --routines." }, "events": { "type": "boolean", - "description": "Include event scheduler events via --events (default: true)." + "default": true, + "description": "Include event scheduler events via --events." }, "triggers": { "type": "boolean", - "description": "Include triggers (default: true). Set to false to pass --skip-triggers." + "default": true, + "description": "Include triggers. Set to false to pass --skip-triggers." }, "no_data": { "type": "boolean", - "description": "When true, passes --no-data so only DDL statements are dumped (no INSERT rows). Mutually exclusive with no_create_info." + "default": false, + "description": "When enabled, passes --no-data so only DDL statements are dumped (no INSERT rows). Mutually exclusive with no_create_info." }, "no_create_info": { "type": "boolean", - "description": "When true, passes --no-create-info so only INSERT statements are dumped (no DDL). Mutually exclusive with no_data." + "default": false, + "description": "When enabled, passes --no-create-info so only INSERT statements are dumped (no DDL). Mutually exclusive with no_data." }, "no_tablespaces": { "type": "boolean", - "description": "Suppress CREATE LOGFILE GROUP and CREATE TABLESPACE statements (--no-tablespaces, default: true). Recommended for restoring to managed or cloud MySQL instances that do not support custom tablespaces." + "default": true, + "description": "Suppress CREATE LOGFILE GROUP and CREATE TABLESPACE statements (--no-tablespaces). Recommended for restoring to managed or cloud MySQL instances that do not support custom tablespaces." }, "column_statistics": { "type": "boolean", - "description": "Query information_schema.COLUMN_STATISTICS for histogram data (default: true, matching mysqldump 8.0 behaviour). Set to false to pass --column-statistics=0, which is required when the mysqldump binary is 8.0 but the source server is MySQL 5.7 or MariaDB." + "default": true, + "description": "Query information_schema.COLUMN_STATISTICS for histogram data (matching mysqldump 8.0 behaviour). Set to false to pass --column-statistics=0, which is required when the mysqldump binary is 8.0 but the source server is MySQL 5.7 or MariaDB." }, "hex_blob": { "type": "boolean", + "default": false, "description": "Dump BINARY, VARBINARY, BLOB, and BIT columns using hexadecimal notation (--hex-blob). Useful when the dump may be loaded on a system with different character set settings." }, "set_gtid_purged": {